'Set Point Spacing' and 'Convert curve to point' in Python可打印版本 +- 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: 'Set Point Spacing' and 'Convert curve to point' in Python (/Thread-Set-Point-Spacing-and-Convert-curve-to-point-in-Python) |
'Set Point Spacing' and 'Convert curve to point' in Python-KOB-07-07-2021 Hi guys, I need information about the 'Set Point Spacing' and 'Convert curve to point' functions. Is it possible to perform these two functions in python? thank you RE: 'Set Point Spacing' and 'Convert curve to point' in Python-Jeremy-07-07-2021 Convert curve to point, look at this example://www.sinclairbody.com/doc/en/PythonAPI/examples.html#filter-curve-normals Set point spacing, you would need to create the logic behind yourself. I did part of it as a proof of concept before the feature was added to the UI. Here's the code. But it's far from perfect. Jeremy |