-
I noticed when trying to use `Face.make_rect` that it creates a rotated rectangle.
I checked the source code and calls OCC's `BRepBuilderAPI_MakeFace` with halfheight first, then halfwidth:
https://…
-
This is not a critical issue, but I investigated fixes for the following behavior:
```py
In [1]: from build123d import *
In [4]: zz = Box(1,1,1)
In [5]: zz.export_step("box111_g.step")
********…
-
In previous versions, it was possible to use the `ocp_vscode` with CadQuery without having `build123d` installed. This was important for Apple Silicon users because there is currently no easy way to g…
-
I needed to create Color values from a hexadecimal color code, so naturally I looked up the source code and noticed there exists a constructor that takes an integer:
https://github.com/gumyr/build123…
-
I experience some weird behavior regarding the `offset` function in combination with a sketch created with `BuildLine`.
## Problem
(see code snippet below)
|||
|-|-|
| GIVEN | a sketch is crea…
-
```py
r = (ShapeList() + (PolarLocations(1, 4) * Line((0,-1),(0,1)))).edges()
l = Line(1,2).edge()
i = l.intersect(*r)
```
```py
r = Rectangle(2,2).edges()
l = (Pos(1) * Line(0,1)).edge()
…
-
See the excellent discussion in Discord here: https://discordapp.com/channels/964330484911972403/1197865098883121212
gumyr updated
5 months ago
-
I find myself writing a lot of `filter_by_position()` selectors. It'd be nice to be able to highlight the results of a selector for debugging purposes, not unlike `#` in OpenSCAD. For example, `to_fil…
-
`Face.position_at` takes required normalized u, v coordinates as separate arguments.
`Face.normal_at` takes optional non-normalized (ironically) u, v coordinates as a tuple.
-
Calling `offset(some_face, amount = -3)` does not keep the face normal. Apparently, it always rotates the face normal to point towards +X, +Y or +Z direction.
This is a problem if you depend on the…