Itoo Software Forum

Author Topic: Batch markers placing  (Read 1310 times)

arch3d

  • Sr. Member
  • ****
  • Posts: 281
    • arch3d.pl
Batch markers placing
« 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

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Batch markers placing
« Reply #1 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/

arch3d

  • Sr. Member
  • ****
  • Posts: 281
    • arch3d.pl
Re: Batch markers placing
« Reply #2 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 :)
« Last Edit: September 02, 2021, 10:11:07 PM by arch3d »

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Batch markers placing
« Reply #3 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. 😁
« Last Edit: September 03, 2021, 06:33:01 AM by Dragan »

arch3d

  • Sr. Member
  • ****
  • Posts: 281
    • arch3d.pl
Re: Batch markers placing
« Reply #4 on: September 03, 2021, 08:49:27 AM »
Yup sometimes RC is time consuming but is always worth :)
« Last Edit: September 03, 2021, 08:51:31 AM by arch3d »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Batch markers placing
« Reply #5 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
Paul Roberts
iToo Software

arch3d

  • Sr. Member
  • ****
  • Posts: 281
    • arch3d.pl
Re: Batch markers placing
« Reply #6 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Batch markers placing
« Reply #7 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
Paul Roberts
iToo Software

arch3d

  • Sr. Member
  • ****
  • Posts: 281
    • arch3d.pl
Re: Batch markers placing
« Reply #8 on: September 06, 2021, 12:54:57 PM »
Thank you Paul!