Was Du suchst heisst CreateSweptBRep3D
CreateSweptBRep3D(...)
CreateSweptBRep3D( (object)profile, (object)path, (bool)railrotation, (Vector3D)rotAxis) -> tuple :
Create BRep3D by means of a vector of profiles extrusion along a path
Parameter: profile profiles to extrude, if closed solid will be created, otherwise a surface only
path path to extrude along
railrotation if true, rotate profile along the path
rotAxis if set, profile will be rotated along this axis along the path
Return: error code,
result BRep3D
CreateSweptBRep3D( (list)profiles, (object)path, (bool)closecaps, (bool)railrotation, (Vector3D)rotAxis, (int)numprofiles) -> tuple :
Create BRep3D by means of a vector of profiles extrusion along a path
Parameter: profiles profiles to extrude, if closed solid will be created, otherwise a surface only
path path to extrude along
closecaps if true, create closed solid if possible, if false just surface(s) will be created
railrotation if true, rotate profile along the path
rotAxis if set, profile will be rotated along this axis along the path
numprofiles number of control profiles created along the created surfaces (division of surface parameter)
Return: error code,
result BRep3D
In den Beispielen ist es in folgenden PythonParts-Scripts enthalten:
BasisExamples\TextureMapping
Content\Ramp.py
Content\Ramp1.py
Content\Ramp2.py
Content\Ramp3.py
Content\SpiralStair.py
Content\SpiralStair2.py
Content\TurnStairs.py
GeometryExamples\Brep3DBuilderElements.py
PP_dev\CommonGeometry\Wall.py
PP_dev\PrecastVault\VaultPart.py
Falls der Path aus mehreren aneinanderhängenden Elementen (Linie,Spline) besteht, dann diese vorher zu einem Path3D verbinden.