Skip to content

Commit

Permalink
merge 0.43
Browse files Browse the repository at this point in the history
  • Loading branch information
aradermacher committed Sep 12, 2023
1 parent ff21815 commit c9f048e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/TrussArc/trussarc.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def geometry_spawn(pm):
# print(pmfo[0:90])
g = aw.geom
# pmfo = pmfo[0:90] # outline
wall_maker = g.CreateWallByPoints(pmfo, pm.thickness, pm.height,is_close=False)
wall_maker = g.CreateWallByPoints(pmfo, pm.thickness, pm.height, is_close=False)
design = wall_maker.Shape()
# wall_maker.visualize # Uncomment this line if you would like to visualize it in plot.

Expand Down
13 changes: 9 additions & 4 deletions usecases/TrussArc/trussarc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ def geometry_spawn(pm):
# print(pmfo[0:90])
g = aw.geom
# pmfo = pmfo[0:90] # outline
wall_maker = g.CreateWallByPoints(pmfo, pm.thickness, pm.height)
wall_maker.is_close = False
wall_maker.overlap = True
wall_maker.visualize("linear")
wall_maker = g.CreateWallByPoints(pmfo, pm.thickness, pm.height, is_close=False)
design = wall_maker.Shape()
# wall_maker.visualize # Uncomment this line if you would like to visualize it in plot.

# old stuff
# wall_maker = g.CreateWallByPoints(pmfo, pm.thickness, pm.height)
# wall_maker.is_close = False
# wall_maker.overlap = True
# wall_maker.visualize("linear")
# design = wall_maker.Shape()

return design #TopoDS_Shape

Expand Down

0 comments on commit c9f048e

Please sign in to comment.