Open shimwell opened 1 year ago
this would need to work for an imprinted assembly instead of parts
import cadquery as cq
assembly = cq.Assembly(name="TwoTouchingCuboids")
cuboid1 = cq.Workplane().box(10,10,10)
assembly.add(cuboid1)
cuboid2 = cq.Workplane().moveTo(5,5).box(3,3,3)
assembly.add(cuboid2)
imprinted_assembly, _ = cq.occ_impl.assembly.imprint(assembly)
instead of installing gmsh we could potential use cadquery to facet the geometry.
here is some code that doesn't quite produce watertight geometry but looks like it is close