-
This three-liner should work, according to the docs …
```python
import cadquery as cq
import cq_warehouse.fastener as f
ss=f.SetScrew("M6-1",10,"iso4026", simple=False)
```
… but it doesn't:
``…
-
```py
p = loft([
SlotOverall(10, 6).clean(),
Pos(Z=4)*SlotOverall(6, 4).clean(),
])
p = offset(p, -0.5, p.faces()>>Axis.Z)
```
gives
```
OCP.Standard.Standard_Failure: Geom_TrimmedC…
-
```py
circle_svg = StringIO("""
""")
circle = import_svg(circle_svg)
v = circle.vertices()
print(circle.edges()[0].geom_type())
```
```
circle.edges()[0].geom_type() = 'ELLIPSE'
```…
-
```py
section = Rot(90)*CenterArc((0,0), 5, 90, 180)
face = revolve(section)
```
Result
```
upgrader = ShapeUpgrade_UnifySameDomain(self.wrapped, True, True, True)
^^^^^^^^^^^…
-
Propose to add a `2d_approx: bool = False` default to `operationgs_generic.offset` that will ultimately get passed down to `Mixin1D.offset_2d`
This option will provide more robust offsetting behavi…
-
```py
from build123d import *
import pickle
part = Box(1,1,1) - Cylinder(0.3, 2)
part.export_stl("test.stl")
stl = Mesher().read("test.stl")
dump = pickle.dumps(part)
part = pickle.loads(du…
-
How to chamfer an extruded text? I want to chamfer all edges of the top-face. This works fine for a simple box, but not for text.
```
from build123d import *
from ocp_vscode import *
set_port(39…
-
```py
import build123d as bd
svg = bd.import_svg("bd_test.svg")
# taper = 0
taper = 10
with bd.BuildPart() as prt:
with bd.BuildSketch():
for k in svg:
with bd.Buil…
-
```py
from build123d import *
slot1 = SlotOverall(45, 38)
slot2 = SlotOverall(60, 4)
with BuildPart() as p1:
with BuildSketch(): add(slot1)
with BuildSketch(Plane.XY.offset(100)): ad…
-
The `pack`'s docstring states `Pack objects in a squarish area in Plane.XY.`
I believe the intended use for this function is to arrange objects to be sent for cutting or 3d printing. In both cases yo…