Part: Enable trimmed curves to set their parameter range, from c++ and Python
============================================================================= >>> geometries = ActiveSketch.Geometry >>> geo2 = geometries[2] >>> geo2 ArcOfCircle (Radius : 27.5267, Position : (-70.4702, -31.8933, 0), Direction : (0, 0, 1), Parameter : (1.34187, 2.35619)) >>> geo2.setParameterRange(1,3) >>> geometries[2]=geo2 >>> ActiveSketch.Geometry=geometries
This commit is contained in:
@@ -29,5 +29,12 @@
|
||||
const Geom_Ellipse & value(void) const {return *getGeom_EllipsePtr();}
|
||||
</ClassDeclarations>
|
||||
-->
|
||||
<Methode Name="setParameterRange" Const="false">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
Re-trims this curve to the provided parameter range ([Float=First, Float=Last])
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
|
||||
Reference in New Issue
Block a user