Skip to content

Instantly share code, notes, and snippets.

test image

  • one
  • two
  • three

cadquery_logo_dark

window_casement_01

#---------------------------------------------------------
import cadquery as cq #main cadquery library
from cadqueryhelper import shape, series, grid # The shape library this document is about
box = cq.Workplane("XY").box(10,10,2)
star = shape.star(outer_radius=20, inner_radius=3, points=6, height=3)
st_series = series(shape = box, height_offset=2, size=10)
st_series = st_series.translate((-40,0,0))

Smoothing 3d Printed Parts With Wood Filler

The goal of this post is to smooth FDM printed terrain.
This isn't the only way to smooth 3d printed parts, but it works well if the part is going to be painted.

Supplies

  • Cup With Water
  • FDM 3d printer
  • Filament
  • Paper Towel
import cadquery as cq
import math
length = 100
width = 100
height = 75
inset = -10
def angle(length, height):
'''
import cadquery as cq
length = 100
width = 100
height = 75
inset = 10
wedge = (
cq.Workplane("XY" )
.wedge(length,height,width,inset,inset,length-inset,width-inset)
import cadquery as cq
from cadqueryhelper import wave
def vent(
length = 25,
width = 25,
height = 4,
segment_length = 3,
inner_width = 2,
frame_width = 2,