discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] 4-bar mechanism

M
MichaelAtOz
Sat, Feb 11, 2017 10:38 PM

Welcome to the forum. Your post is still flagged as "This post has NOT been
accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the  mailing list
http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1  ,
and CLICK THE LINK in the registration email.

texada wrote > 4Bar_Crank_Rocker_Ver_3.scad
http://forum.openscad.org/file/n20386/4Bar_Crank_Rocker_Ver_3.scad

Hi everyone,

I am coding a program to simulate

4-bar mechanisms

, I am using a Function to generate a vector of 6 elements, this vector[6]
has the input parameter for a module named "

/

buildLink

/

"  (the module buildLink has these input variables (posZ, posX, posY,
slope_in_degrees, length_of_Link, thickness_of_link) ),  however: while I
am trying to generate the Coupler and its inclination slope  in degrees,
the variables are not working, I have tried using

assign

, I have used nested functions, nested modules, and nothing sems to be
working. SO,, Would somebody like to take a look to my code, and give me a
little tiny hint?

Which variables are not working?


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/4-bar-mechanism-tp20386p20396.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Welcome to the forum. Your post is still flagged as "This post has NOT been accepted by the mailing list yet", so nobody gets it unless they look. You need to subscribe to the mailing list <http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1> , and CLICK THE LINK in the registration email. texada wrote > 4Bar_Crank_Rocker_Ver_3.scad <http://forum.openscad.org/file/n20386/4Bar_Crank_Rocker_Ver_3.scad> > Hi everyone, > > I am coding a program to simulate > 4-bar mechanisms > , I am using a Function to generate a vector of 6 elements, this vector[6] > has the input parameter for a module named " / > buildLink / > " (the module buildLink has these input variables (posZ, posX, posY, > slope_in_degrees, length_of_Link, thickness_of_link) ), however: while I > am trying to generate the Coupler and its inclination slope in degrees, > the variables are not working, I have tried using * > assign * > , I have used nested functions, nested modules, and nothing sems to be > working. SO,, Would somebody like to take a look to my code, and give me a > little tiny hint? <http://forum.openscad.org/file/n20386/4bar_mech.jpg> > Which variables are not working? ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/4-bar-mechanism-tp20386p20396.html Sent from the OpenSCAD mailing list archive at Nabble.com.