DC2 following curved path

DC2 following curved path

Postby Wo3Dan » Tue Nov 25, 2008 9:43 pm

Attached file is about an example of two DC's in RG plane.
DC1 follows a curved path while DC2 follows a straigth line.
(change some values and experiment / have fun)

Wo3Dan
0
User avatar
Wo3Dan 
Top SketchUcator
 

Re: DC2 following curved path

Postby Chris Fullmer » Tue Nov 25, 2008 10:16 pm

That's very cool Dan. I wish there was a way to get the DC to actually follow the path, so one could change the path and the DC would automatically follow it. I have some ideas for how to accomplish something like this using nodes. But I think I have found that I need to have all nodes be separate pre-made components. They can't be created dynamically because there is no way to get the X,Y coordinates of a dynamic copy at this point. Or maybe there is. I'll post the question and maybe Scott Will answer. At any rate, very cool! I liked the dimensions being updated throughout the animation.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: DC2 following curved path

Postby Wo3Dan » Tue Nov 25, 2008 11:10 pm

Thanks Chris, I'm just experimenting to make movements less static (=follow different matematical
rules other than straight lines). Along the way I should get more familiar with DC_syntax.
The included dimensions aren't DC-features. Each of the four dimensions work with their own virtual intersection points on the axes. I posted about this weird behaviour (in SU6) way back, see:
viewtopic.php?f=18&t=8315&p=49280&hilit=+virtual+intersection+#p49280
Fixing semy associated dimensions (so they will update again) was also in SU6. Probably already in SU5. Here they come in handy to see what (some of) the DC-values are doing.

Looking forward to see what you come up with next!
Wo3Dan
0
User avatar
Wo3Dan 
Top SketchUcator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Dynamic Components

cron

Who is online

Users browsing this forum: No registered users and 4 guests

Visit our sponsors: