Skip to content
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

add irtstl.l, irtwrl.l : copied from wrl2eus.l and read-stl.l #248

Open
wants to merge 4 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@k-okada
Copy link
Member

commented Jul 27, 2015

we need many discussion on this

  • filename

i created two file irtstl and irtwrl, but irtcad.l may another optoin

  • stl

stl seems ok, but stl2eus takes facesset, so we need pass object such as

    (eus2stl tmpstl (body-to-faces b0) :scale 0.001)

may be the function should accept (eus2stl tmpstl b0)

  • wrl

wrl is more complex, specially wrl2eus is very complex, and also there are another implementation at
https://github.com/euslisp/EusLisp/tree/master/lib/llib/vrmlParser.l

we can rename fuction name from dump-object-to-wrl to `wrl2vrml' and takes same arguments as eus2stl

@mmurooka

This comment has been minimized.

Copy link
Contributor

commented Oct 20, 2016

@k-okada

This comment has been minimized.

Copy link
Member Author

commented Jul 24, 2017

@eisoku9618 please check if this works for you

(load "irteus/demo/sample-robot-model.l")                                      
(setq *r* (instance sample-robot :init))                                       
(load "/opt/ros/indigo/share/pr2eus/pr2.l")                                    
(setq *pr2* (instance pr2-robot :init))                                        
(load "irtstl.l")
(eus2stl "robot-1.stl" *r*)                                                     
(eus2stl "robot-2.stl" *pr2*)
@eisoku9618

This comment has been minimized.

Copy link
Member

commented Jul 24, 2017

Thank you and it works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.