Just use mash curve node? or parametrize curve from 0-1 or length as
suggested.  Only other trick is to make a curve an underworld node but
doesn't really help with spacing more than rebuilding.

On Tue, Apr 9, 2019 at 8:50 AM sumant shenoy <[email protected]>
wrote:

> https://www.highend3d.com/maya/script/snap-box-for-maya
> https://vimeo.com/48469167
> i created this tool some time ago it may help i used some basic math to
> get values just look at the script .hope it helps
>
> On Friday, March 22, 2019 at 2:34:07 AM UTC+9, yann19 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/6e23b42e-e6cc-4403-9624-a08084441677%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/6e23b42e-e6cc-4403-9624-a08084441677%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CADwmVhW_Szqtif-neXhqsb-SyKK4-ieZcrRbZNUU4ydkadj4kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to