vismach --import STL

More
16 Jun 2014 13:55 - 16 Jun 2014 14:16 #47999 by tiffany
vismach --import STL was created by tiffany
I want to make a new simulator with vismach;

I import model successfully, and the whole model can be seen;
But there are so many errors

Attachment vismacherror.png not found



I didn't known where is wrong?anyone can help me ?

the source code and file was attached
Attachments:
Last edit: 16 Jun 2014 14:16 by tiffany.

Please Log in or Create an account to join the conversation.

More
16 Jun 2014 17:58 #48001 by ArcEye
Replied by ArcEye on topic vismach --import STL
Unfortunately, we don't know what you are doing or how you are doing it, to get these errors.

The file in the zip is a just a userspace python component, (which has a different name to the file, so it may never become ready ), but these errors are from vismach.py not your component.

The errors are in functions applyglMaterialfv() , redrawglMultMatrixd() etc, which are presumably in some sort of python GL library

Without the full picture, including all the changes, sorry can't help

Please Log in or Create an account to join the conversation.

More
16 Jun 2014 18:32 - 16 Jun 2014 18:39 #48003 by tiffany
Replied by tiffany on topic vismach --import STL
a!hello again , ArcEye!

I failed add whole file for last time~
tryied again ~~

Unfortunately, we don't know what you are doing or how you are doing it, to get these errors.

The file in the zip is a just a userspace python component, (which has a different name to the file, so it may never become ready ), but these errors are from vismach.py not your component.

The errors are in functions applyglMaterialfv() , redrawglMultMatrixd() etc, which are presumably in some sort of python GL library

Without the full picture, including all the changes, sorry can't help

Last edit: 16 Jun 2014 18:39 by tiffany.

Please Log in or Create an account to join the conversation.

More
16 Jun 2014 19:07 #48004 by tiffany
Replied by tiffany on topic vismach --import STL
It't too difficult for 'add file'
maybe the moding .STL files is too big;

do you mind give me a E-mail?

I'll send all of my file to you?
I readily need some help~~


regards!

Please Log in or Create an account to join the conversation.

More
16 Jun 2014 19:43 #48005 by ArcEye
Replied by ArcEye on topic vismach --import STL
My email is not very good with large attachments either

Easiest thing to do would be to upload it to github or dropbox or similar and post the URL

regards

Please Log in or Create an account to join the conversation.

More
17 Jun 2014 08:54 - 17 Jun 2014 08:54 #48018 by tiffany
Replied by tiffany on topic vismach --import STL
this is smaller~

thay have the same error
Attachments:
Last edit: 17 Jun 2014 08:54 by tiffany.

Please Log in or Create an account to join the conversation.

More
17 Jun 2014 08:56 - 17 Jun 2014 08:59 #48019 by tiffany
Replied by tiffany on topic vismach --import STL
python file
Attachments:
Last edit: 17 Jun 2014 08:59 by tiffany.

Please Log in or Create an account to join the conversation.

More
18 Jun 2014 21:10 #48068 by tiffany
Replied by tiffany on topic vismach --import STL
anybody could help me?

please....

Please Log in or Create an account to join the conversation.

More
18 Jun 2014 22:36 #48072 by ArcEye
Replied by ArcEye on topic vismach --import STL
Sorry I have been busy.

What you have attached tells me nothing about what you are doing.
There are 7 sub folders under the vismach sim, I do not even know which one of those you have modified or where your files fit into that config.

The vismach simulator is very specialised, there is little documentation and very few people seem to have got it to work.

You will need to attach the complete config folder so that it can be run and produce the errors you are trying to track down.

I assume that you managed to get it running before you modified it.
Do you not know at what stage it stopped working when you added stuff to it?

regards

Please Log in or Create an account to join the conversation.

More
19 Jun 2014 09:21 #48106 by tiffany
Replied by tiffany on topic vismach --import STL
Thank you reply me~

(1) 6hus-gui-1.py shoud be added to linuxcnc-dev/src/hal/user_comps/vismach/...

and linuxcnc-dev/src/hal/user_comps/vismach/submakefile shoud be changed by adding

VISMACH_PY := \
pumagui.py \
puma560gui.py \
scaragui.py \
hexagui.py \
5axisgui.py \
max5gui.py \
maho600gui.py \
hbmgui.py \
6hus-gui-1.py \

finished this, make all of linuxcnc-dev as usual;

(2) run . ./scripts/rip-environment

halrun

loadusr 6hus-gui-1

will see the errors;

(3) for the seven .STL files, they shoud be loaded in 6hus-gui-1.py;

what you need is : make sure the .STL files real path in your computer is correct .

(4) as for the errors, they will appear when you loaded . STL files in 6hus-gui-1.

so,that's all I known. I hope those can be useful~

I also realized that very few people use vismach, but I really don't want to give up, since I have made some thing~

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum