trying to convert openscad files to step files via freecad

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

trying to convert openscad files to step files via freecad

boelle
So i'm trying to convert some of these openscad files to step format

https://github.com/nophead/Mendel90/tree/master/scad


one that still puzzels me is y-motor-bracket.scad

when loading it in freecad i get several errors and i simply dont get it, ie
what goes wrong where and if there is a single error that causes the other

and the fact that the scripts are so interlinked and depends on each other
does not help it either, not for me at least

any ony that can point as to what makes the whole thing go south?



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

nophead
It would help if you posted the error messages. I don't think anybody can guess what they would be without trying it themselves. y-motor-bracket.scad is fairly simple, is that the only file you have problems with?

It used to be the case that Freecad could only do a subset of OpenSCAD,. I think it couldn't do hull(), which is used extensively in Mendel90. Has that changed?

On 1 April 2018 at 11:23, boelle <[hidden email]> wrote:
So i'm trying to convert some of these openscad files to step format

https://github.com/nophead/Mendel90/tree/master/scad


one that still puzzels me is y-motor-bracket.scad

when loading it in freecad i get several errors and i simply dont get it, ie
what goes wrong where and if there is a single error that causes the other

and the fact that the scripts are so interlinked and depends on each other
does not help it either, not for me at least

any ony that can point as to what makes the whole thing go south?



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

boelle
there are several errors, does this list allows screenshots?

but other than the y motor bracket its also the y idler, both Y bar clamps, Z bar clamp, 

2018-04-01 17:34 GMT+02:00 nop head <[hidden email]>:
It would help if you posted the error messages. I don't think anybody can guess what they would be without trying it themselves. y-motor-bracket.scad is fairly simple, is that the only file you have problems with?

It used to be the case that Freecad could only do a subset of OpenSCAD,. I think it couldn't do hull(), which is used extensively in Mendel90. Has that changed?

On 1 April 2018 at 11:23, boelle <[hidden email]> wrote:
So i'm trying to convert some of these openscad files to step format

https://github.com/nophead/Mendel90/tree/master/scad


one that still puzzels me is y-motor-bracket.scad

when loading it in freecad i get several errors and i simply dont get it, ie
what goes wrong where and if there is a single error that causes the other

and the fact that the scripts are so interlinked and depends on each other
does not help it either, not for me at least

any ony that can point as to what makes the whole thing go south?



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

nophead
Yes you can post pictures provided they are not too big. It has a very small file size limit for today's technology.

OctoPrint has recently moved to Discourse and two other projects I follow use that. It is much better than mailing lists and other forums IMHO.

On 1 April 2018 at 16:44, Bo Herrmannsen <[hidden email]> wrote:
there are several errors, does this list allows screenshots?

but other than the y motor bracket its also the y idler, both Y bar clamps, Z bar clamp, 

2018-04-01 17:34 GMT+02:00 nop head <[hidden email]>:
It would help if you posted the error messages. I don't think anybody can guess what they would be without trying it themselves. y-motor-bracket.scad is fairly simple, is that the only file you have problems with?

It used to be the case that Freecad could only do a subset of OpenSCAD,. I think it couldn't do hull(), which is used extensively in Mendel90. Has that changed?

On 1 April 2018 at 11:23, boelle <[hidden email]> wrote:
So i'm trying to convert some of these openscad files to step format

https://github.com/nophead/Mendel90/tree/master/scad


one that still puzzels me is y-motor-bracket.scad

when loading it in freecad i get several errors and i simply dont get it, ie
what goes wrong where and if there is a single error that causes the other

and the fact that the scripts are so interlinked and depends on each other
does not help it either, not for me at least

any ony that can point as to what makes the whole thing go south?



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

MichaelPFrey
In reply to this post by boelle
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
> there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
> ...
> It used to be the case that Freecad could only do a subset of
> OpenSCAD,. I think it couldn't do hull(), which is used extensively in
> Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

boelle
a few examples attached







2018-04-01 19:00 GMT+02:00 Michael Frey <[hidden email]>:
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
...
It used to be the case that Freecad could only do a subset of
OpenSCAD,. I think it couldn't do hull(), which is used extensively in
Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

nophead
I think you need to find the lowest node in the tree with the error. All nodes above that with errors are probably knock on effects.

The picture on the screen looks nothing like anything recognisable in the y-motor-bracket.

On 1 April 2018 at 18:57, Bo Herrmannsen <[hidden email]> wrote:
a few examples attached







2018-04-01 19:00 GMT+02:00 Michael Frey <[hidden email]>:
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
...
It used to be the case that Freecad could only do a subset of
OpenSCAD,. I think it couldn't do hull(), which is used extensively in
Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

boelle
must be this one, of course an direct export to step from openscad would have made it a tiny amount more eaasy :-)

 

2018-04-01 20:06 GMT+02:00 nop head <[hidden email]>:
I think you need to find the lowest node in the tree with the error. All nodes above that with errors are probably knock on effects.

The picture on the screen looks nothing like anything recognisable in the y-motor-bracket.

On 1 April 2018 at 18:57, Bo Herrmannsen <[hidden email]> wrote:
a few examples attached







2018-04-01 19:00 GMT+02:00 Michael Frey <[hidden email]>:
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
...
It used to be the case that Freecad could only do a subset of
OpenSCAD,. I think it couldn't do hull(), which is used extensively in
Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

boelle
In reply to this post by nophead
ahh think this is the one:




2018-04-01 20:06 GMT+02:00 nop head <[hidden email]>:
I think you need to find the lowest node in the tree with the error. All nodes above that with errors are probably knock on effects.

The picture on the screen looks nothing like anything recognisable in the y-motor-bracket.

On 1 April 2018 at 18:57, Bo Herrmannsen <[hidden email]> wrote:
a few examples attached







2018-04-01 19:00 GMT+02:00 Michael Frey <[hidden email]>:
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
...
It used to be the case that Freecad could only do a subset of
OpenSCAD,. I think it couldn't do hull(), which is used extensively in
Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

nophead
In reply to this post by boelle
It looks like it is the teardrop holes that it doesn't like. They are linear extrudes of a hull so it looks like hull doesn't work. I think FreeCAD calls OpenSCAD to do the hull so perhaps there is a path problem.

Try isolating it to a call to teardrop_plus() and if that fails post it to the FreeCAD issues.



On 1 April 2018 at 19:18, Bo Herrmannsen <[hidden email]> wrote:
must be this one, of course an direct export to step from openscad would have made it a tiny amount more eaasy :-)

 

2018-04-01 20:06 GMT+02:00 nop head <[hidden email]>:
I think you need to find the lowest node in the tree with the error. All nodes above that with errors are probably knock on effects.

The picture on the screen looks nothing like anything recognisable in the y-motor-bracket.

On 1 April 2018 at 18:57, Bo Herrmannsen <[hidden email]> wrote:
a few examples attached







2018-04-01 19:00 GMT+02:00 Michael Frey <[hidden email]>:
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
...
It used to be the case that Freecad could only do a subset of
OpenSCAD,. I think it couldn't do hull(), which is used extensively in
Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

boelle
seems that you cant report issues

not on github that is: https://github.com/FreeCAD/FreeCAD

but they sure have something else somewhere :-D

2018-04-01 20:30 GMT+02:00 nop head <[hidden email]>:
It looks like it is the teardrop holes that it doesn't like. They are linear extrudes of a hull so it looks like hull doesn't work. I think FreeCAD calls OpenSCAD to do the hull so perhaps there is a path problem.

Try isolating it to a call to teardrop_plus() and if that fails post it to the FreeCAD issues.



On 1 April 2018 at 19:18, Bo Herrmannsen <[hidden email]> wrote:
must be this one, of course an direct export to step from openscad would have made it a tiny amount more eaasy :-)

 

2018-04-01 20:06 GMT+02:00 nop head <[hidden email]>:
I think you need to find the lowest node in the tree with the error. All nodes above that with errors are probably knock on effects.

The picture on the screen looks nothing like anything recognisable in the y-motor-bracket.

On 1 April 2018 at 18:57, Bo Herrmannsen <[hidden email]> wrote:
a few examples attached







2018-04-01 19:00 GMT+02:00 Michael Frey <[hidden email]>:
Am 01.04.2018 um 17:44 schrieb Bo Herrmannsen:
there are several errors, does this list allows screenshots?
the mailing list allows screen-shots and attachments, but usually, it is
easier when you copy and past the the text of the error messages.
If there are really a whole lot of error messages, then usually the
first few are more interesting then latter ones.


Am 01.04.2018 um 17:34 schrieb nop head:
...
It used to be the case that Freecad could only do a subset of
OpenSCAD,. I think it couldn't do hull(), which is used extensively in
Mendel90. Has that changed?
That should be the best resource for this topic:
https://www.freecadweb.org/wiki/OpenSCAD_Module

With kind regards,
Michael Frey

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
                 |||||
               @(~Ô^Ô~)@
-------------oOo---U---oOo-------------
|                                     |
|  Bo Herrmannsen                     |
|                                     |
|                                     |
| "blessed are the "cracked",         |
|  for its they who let in the light" |
|                         Ooo         |
|_________________ooO____(   )________|
                 (   )    ) /
                  \ (    (_/
                   \_)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: trying to convert openscad files to step files via freecad

boelle
the latest dev snapshot does the job much better

but the teardrops still look "funny"

but its good enough that in Fusion360 i can put a nut in the nuttraps and
then add the bolt to the nut


if curious i'm building a Mendel90 with a Mk42 heatbed and the prusa i3 x
carraige system



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org