-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing functions #2
Comments
Can you please update OpenSCAD to v2019.05? |
i can but it's not multithreaded so ugly for big projects ...
Le lun. 16 déc. 2019 à 11:43, DarioP <notifications@github.com> a écrit :
… Can you please update OpenSCAD to v2019.05?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AESIHJMSCSVIE2WNQOCQLHDQY5LTXA5CNFSM4J3HUHIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG6JDBI#issuecomment-566006149>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESIHJKI537CGIR263TDK2TQY5LTXANCNFSM4J3HUHIA>
.
|
ok
it slowly work
thanks for this learning lib ;)
Le lun. 16 déc. 2019 à 11:43, DarioP <notifications@github.com> a écrit :
…
Can you please update OpenSCAD to v2019.05?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I don't have easy access to older versions, but could you please try adding these three lines at the top of PolyGear.scad (before the include):
|
no it don't work
syntax error first "(" of assert
Le lun. 16 déc. 2019 à 17:08, DarioP <notifications@github.com> a écrit :
… I don't have easy access to older versions, but could you please try
adding these three lines at the top of PolyGear.scad (before the include):
module assert(cond, msg) {if (!cond) echo(str("ASSERT FAILED: ",msg));}
function is_undef(var) = var==undef;
function is_list(var) = len(var)!=undef;
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AESIHJLGXBSB6KP6L2PPMEDQY6RYJA5CNFSM4J3HUHIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7GUZY#issuecomment-566127207>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESIHJLIOAIA3Z6MWHJB2HTQY6RYJANCNFSM4J3HUHIA>
.
|
Sorry, my bad. Just remove line 157 of PolyGear.scad (where assert is used) and add only
at the beginning. I gave you a module implementation of assert, which however is and is used as a function. Therefore the syntax error. Since is not that important you can just get rid of it to avoid headaches. |
yes it work now
thanks a lot
wil you add racks, interior toothed gears and spherical gears to ths lib ???
Le mar. 17 déc. 2019 à 14:08, DarioP <notifications@github.com> a écrit :
… Sorry, my bad. Just remove line 157 of PolyGear.scad (where assert is
used) and add only
function is_undef(var) = var==undef;
function is_list(var) = len(var)!=undef;
at the beginning.
*I gave you a module implementation of assert, which however is and is
used as a function. Therefore the syntax error. Since is not that important
you can just get rid of it to avoid headaches.*
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AESIHJLCZZ57GDPHUSGZ2UTQZDFLHA5CNFSM4J3HUHIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHCJ6OY#issuecomment-566533947>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESIHJPECJN5EDCHJP34BELQZDFLHANCNFSM4J3HUHIA>
.
|
Interior gears are easy: just use OpenSCAD's difference(). |
are you sure difference will give good printed results for interior gear ?
i don't have a working 3d printer yet to test
spherical :2d of freedom very useful for arms, wheeled legs ...
why never ???
thanks
Le mar. 17 déc. 2019 à 22:38, DarioP <notifications@github.com> a écrit :
… Interior gears are easy: just use OpenSCAD's difference().
For spherical if you mean something like this
https://www.sciencedirect.com/science/article/abs/pii/S0924013602000675
probably never, if you mean something like this
https://www.shapeways.com/forum/attachments/gear-ball-jpg.558/ you just
need bevel gears, you can give spherical external/internal faces by
intersect()/difference() with a sphere.
Racks maybe, as soon as I need one or as I receive a good pull request!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AESIHJJNAY2T4DLJZQ33VATQZFBEBA5CNFSM4J3HUHIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHEBHKQ#issuecomment-566760362>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESIHJPR7AYOMACVLRFEA3LQZFBEBANCNFSM4J3HUHIA>
.
|
|
hi
PGDemo(); give :Module cache size: 2 modules
Compiling design (CSG Tree generation)...
WARNING: Ignoring unknown function 'assert'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_undef'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
WARNING: Ignoring unknown function 'is_list'.
Rendering Polygon Mesh using CGAL...
Started 4 worker threads
ERROR: Unable to convert point at index 0 to a vec3 of numbers
ERROR: Unable to convert point at index 0 to a vec3 of numbers
Geometries in cache: 103
Geometry cache size in bytes: 58680
CGAL Polyhedrons in cache: 8
CGAL cache size in bytes: 469696
Total rendering time: 0 hours, 0 minutes, 2 seconds
Top level object is a 3D object:
Simple: yes
Vertices: 34
Halfedges: 102
Edges: 51
Halffacets: 38
Facets: 19
Volumes: 2
Rendering finished.
The text was updated successfully, but these errors were encountered: