Extract curve from IGES and test if it's Linear or circular可打印版本 +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Extract curve from IGES and test if it's Linear or circular (/Thread-Extract-curve-from-IGES-and-test-if-it-s-Linear-or-circular) |
Extract curve from IGES and test if it's Linear or circular-STEFANOBRANCA-08-26-2019 Hi I would like to know if it is possible to select one or multiple edges of an IGES or STEP file and then extract the curves via Python. Is it also possible to test individual edges and know if they are arcs or lines or splines? Sincerely Stefano Branca RE: Extract curve from IGES and test if it's Linear or circular-Albert-08-26-2019 Hi Stefano, Yes, this is possible. I recommend you to take a look at the example attached. It shows how to extract curves from objects. You can iteratively extract curves inside an object by using GetPoints()
Code:
#病重n Off rendering (faster)
|