[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - program to view xml file in 3D
Page 2 of 10

Re: program to view xml file in 3D

PostPosted: Mon May 04, 2015 5:12 pm
by plexus

Re: program to view xml file in 3D

PostPosted: Tue May 05, 2015 8:25 pm
by fred_fr
hi

We could make some changes in the program and you can find below the results

- quad aBUGSworstnightmare :

Image

One error in your xml file :
<!-- M4CAN expansion board -->
<cube name="m4can" dimx="0.052" dimy="0.052" dimz="0.05" offsetx="0" offsety="0" offsetz="+.0.0025">14.0</cube>

- Quad Astudillo

Image

- Quad plexus

Image

fred

Re: program to view xml file in 3D

PostPosted: Tue May 05, 2015 9:40 pm
by chschmid
Hi Fred

Can you send these thru the prog for me?

quatos_clip_quad.xml
(1.73 KiB) Downloaded 799 times

quatos_octo_cs.xml
(1.48 KiB) Downloaded 768 times


Cheers
Christof

Re: program to view xml file in 3D

PostPosted: Tue May 05, 2015 9:53 pm
by fred_fr
hi

see the result , is correct ?

Image



fred_fr

Re: program to view xml file in 3D

PostPosted: Tue May 05, 2015 10:27 pm
by chschmid
Thanks Fred

I guess it is difficult to diplay the arms because we do not have a Z position for them. All other Z's are relative to a chosen "zero Z plane". I guess if the masses are speced with center of arms as "zero Z plane" the prog works nice.

The arms could always be displayed at center of body.

Cheers
Christof

Re: program to view xml file in 3D

PostPosted: Wed May 06, 2015 6:48 am
by aBUGSworstnightmare

Re: program to view xml file in 3D

PostPosted: Thu May 07, 2015 10:30 pm
by fred_fr
hi

the new result :

Image

I have not test custom frame geometry. For custom frame the to parameter for motor is position in x and y ?

Re: program to view xml file in 3D

PostPosted: Thu May 07, 2015 10:35 pm
by fred_fr
The program convert xml file in vrml file. It is write in TCL langage : .

The first version of this program is written in language TCL .
The program is used command line interface :

tclsh.exe convert tcl fichier_in.xml fichier_out.wrl

it can be download at:

The used program allowing the display Vrml file is this one

fred

see more in french : http://autoquad6.free.fr/xml_to_vrml.html

Re: program to view xml file in 3D

PostPosted: Thu May 07, 2015 11:07 pm
by kinderkram
Thx for your contributions, Fred!
This is a very helpful tool to visualize whether a setup makes sense - as we can see with Joerg´s example.

Would be a nice companion for the QuatosTool.

Re: program to view xml file in 3D

PostPosted: Fri May 08, 2015 8:05 am
by aBUGSworstnightmare
Hi fred,

this is a great tool! Thanks for sharing it!

Since I still have a wrong offset on the landing skids I've changed my xml.file again and tested your tool.
Seems there is an error somewhere because not every cube is processed; last one is the GPS antenna. Arms were completely missing!
Please find the input file and the resulting outputs below.
output.PNG
Command line and related output
output.PNG (76.77 KiB) Viewed 14253 times

testrun.PNG
Generated 3D file - the last cube that is correctly processed is the GPS antenna - rest is missing!
One skid is in black --> barely visible! How to change the background color to white i.e.?
testrun.PNG (5.87 KiB) Viewed 14253 times

xml_wrl-files.zip
Related .xml- and .wrl-files
(2.55 KiB) Downloaded 729 times

Thanks again for looking into this!
Joerg
P.S. Files were downloaded from the linked references!