-
When trying to make a wedge without a "flat top" this fails:
```python
Wedge(2, 1, 0, 0, 0, 2, 5)
```
with this error:
```
File "/opt/homebrew/Caskroom/miniconda/base/envs/cq-b123d/lib/p…
-
Currently there are 5 export methods (`export_gltf` to come):
1. `Shape.export_stl`,
2. `Shape.export_step`,
3. `Shape.export_brep`,
4. `Shape.export_svg`, and
5. `Shape.export_dxf`
In additio…
gumyr updated
9 months ago
-
```py
from build123d import *
from ocp_vscode import *
box_width = 100
box_height = 80
box_depth = 90
wall_thick = 2.24
clearance_tight = 0.1
clearance_fit = 0.25
module_height = 38.8…
gumyr updated
11 months ago
-
Yes. Both use the OpenCascade core and both store this object in a `wrapped` instance variable. So you could take the `wrapped` OCCT object from a cq Shape and assign it to a b3d Shape of the same ki…
gumyr updated
11 months ago
-
```py
from build123d import *
from ocp_vscode import *
pts = [
(11.421, 10.15),
(11.421, 84.582),
(19.213, 118.618),
(17.543, 127.548),
(-10.675, 127.548),
(-10.675,…
gumyr updated
11 months ago
-
If you substitute `split(bisect_by=pln2 ...` with `pln` the result is not correct. I have had this issue before and I am really not sure what I am doing wrong? I constructed `pln2` by printing out `pl…
-
Consider the following example:
```py
from build123d import *
from ocp_vscode import *
f1 = Face.make_from_wires(Wire.make_polygon([(1, 0), (2, 0), (2, 1), (1, 1), (1, 0)]))
f2 = Face.make_from…
gumyr updated
11 months ago
-
gumyr updated
11 months ago
-
`export_stl()` has default values for its `tolerance` and `angular_tolerance` parameters, however `export_3mf()` does not have any default parameter values. Unless there is a particular reason for thi…
-
# The problem
sort_by using Axis does a transformation of every shape that is to be sorted: https://github.com/gumyr/build123d/blob/66fe3b5e14edff8c8ce8f6ce0334ec6db9f1fe3d/src/build123d/topology.p…