-
Just playing around with offset. I find it a bit confusing when I go through all combinations:
Faces:
```python
with BuildSketch() as s:
Rectangle(1, 2)
# good:
Offset(amount=-0.1,…
-
`import build123d` breaks the following code:
```py
import cadquery as cq
asm = (
cq.Assembly()
.add(cq.Solid.makeBox(1, 1, 1), name='b1', color=cq.Color('yellow'))
.add(cq.Solid.m…
-
-
```py
import build123d as bd
diam, height, hole_diam = 5, 2, 2
with bd.BuildPart() as washer:
bd.Cylinder(diam, height)
with bd.Locations( (2, 2, height) ):
bd.Hole(hole_diam)
…
-
Add hyperlinks to source code in RTD.
Add hyperlinks to Type definitions (if possible) in RTD.
-
The API is currently a bit confusing (confused?) regarding transformations. For example let's look at `Shape`:
```py
class Shape:
def locate(self, loc: Location) -> Shape:
"""Apply a l…
-
This code:
```py
import build123d as bd
with bd.BuildPart() as washer:
bd.Cylinder(3, 2)
bd.Hole(1)
debug(washer.part)
```
makes a hole on the bottom of the cylinder, with a depth …
-
```py
import build123d as bd
with bd.BuildPart() as bp:
bd.Box(3,3,3)
bd.WorkplanesFromFaces(*bp.faces())
bd.Box(1,2,0.1,rotation=(0,0,45))
```
Currently gives the first solid, …
-
If nothing is provided to `Workplanes` use the existing locations to define new planes.
-
```py
with BuildPart() as hole:
Rectangle(small, small, mode=Mode.ADD)
```
Classes should check to see if they are in the appropriate context.
```py
with BuildSketch() as hole:
Rectan…