Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: arch3d on September 02, 2021, 09:08:26 PM

Title: Batch markers placing
Post by: arch3d on September 02, 2021, 09:08:26 PM
Hi,

I was wondering if is possible to batch add markers on spline depending of vertex type ( e.g batch add markers in bezier vertex )

Many thanks for info
Title: Re: Batch markers placing
Post by: Dragan on September 02, 2021, 09:23:48 PM
I had a similar request and Rokas created me a script that place a marker on a start of each subspline and works perfect. Maybe it can be easy to modify but knowing Rokas now,  when he has a more then one option he will make GUI script covering every situation 😁😆
https://forum.itoosoft.com/railclone-pro/scripts-for-railclone/60/
Title: Re: Batch markers placing
Post by: arch3d on September 02, 2021, 10:06:52 PM
Awsome Dragan!
Thank you very much

But to be honest I will spend 3 lives to figure out how to edit it :)
Title: Re: Batch markers placing
Post by: Dragan on September 03, 2021, 06:20:58 AM
 ;D
Me too, and Rokas finished in less then hour.  :o

Plus - He is happy to help! 😲When a look into the code l though he release a new product so I was looking for a section next to ForestPack and Railclone. I'll spend a week just to type it right. 😁
Title: Re: Batch markers placing
Post by: arch3d on September 03, 2021, 08:49:27 AM
Yup sometimes RC is time consuming but is always worth :)
Title: Re: Batch markers placing
Post by: Paul Roberts on September 03, 2021, 04:18:25 PM
Would you mind clarifying this request, do you want to add a marker on each bezier vertex, or add a marker to the start of each spline that contains bezier vertices?

Thanks,
Paul
Title: Re: Batch markers placing
Post by: arch3d on September 04, 2021, 04:46:50 AM
Hi Paul,

I have such situation as on screen
I would like to add vertex in intersections with other spline so i figured out to do it in this way:
1.use this plugin to detect intersections https://www.splinedynamics.com/tutorials/spline-combiner-detect-intersections/
2.change intersection points type to bezier manually
3.run your script:D

Probably is easier way to do it but i dont have better idea

Basically i want place marker in bezier points
Title: Re: Batch markers placing
Post by: Paul Roberts on September 06, 2021, 10:59:24 AM
Hi,

Please find attached a script that can add markers to bezier, smooth, bezier-corner, or corner knots and any combination of these. I hope it helps.

Best,
Paul
Title: Re: Batch markers placing
Post by: arch3d on September 06, 2021, 12:54:57 PM
Thank you Paul!