The spacing is determined by the "parameter range" of your NURBS curve,
which is normally evenly distributed between 0-1. Try running "Rebuild" on
your curve to reset that range.

On Fri, 22 Mar 2019 at 02:34, yann19 <yangki...@gmail.com> wrote:

> I am having some issues with 'snapping' geometries onto a curve.
>
> The 'snapping' does seems to work, however, the spacing between objects
> are not what I am expecting.
> I am guessing that I may have miss out on something..
>
> I have attached some screenshots for better clarity:
>
> [image: org.jpg]
> (The curve is flat on the surface, but eventually I am planning to conform
> the curve such that it has 'depth' eg. on a terrain)
>
> This is the result I got after running my code:
>
> [image: result.jpg]
>
> and this is what I am expecting to achieve:
>
> [image: expected_output.jpg]
>
>
> My code is over here: https://pastebin.com/raw/xTz6ACJv
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/47f3f23c-c8c1-4113-8e1b-c88b049b23af%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/47f3f23c-c8c1-4113-8e1b-c88b049b23af%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAJLigxVG4vRtV9K22PMVqDbAG6u7TgENaQzgtiES%2BS7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to