From c9f048e644e3a8cbe9bc7e6833d51af09d5d8888 Mon Sep 17 00:00:00 2001 From: aradermacher Date: Tue, 12 Sep 2023 09:13:52 +0200 Subject: [PATCH] merge 0.43 --- examples/TrussArc/trussarc.py | 2 +- usecases/TrussArc/trussarc.py | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/TrussArc/trussarc.py b/examples/TrussArc/trussarc.py index 9aadf63..b881376 100644 --- a/examples/TrussArc/trussarc.py +++ b/examples/TrussArc/trussarc.py @@ -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. diff --git a/usecases/TrussArc/trussarc.py b/usecases/TrussArc/trussarc.py index 52186be..47b39c3 100644 --- a/usecases/TrussArc/trussarc.py +++ b/usecases/TrussArc/trussarc.py @@ -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