program to view xml file in 3D

The new control algorithm for AutoQuad flight controllers.

Re: program to view xml file in 3D

Postby fred_fr » Tue May 12, 2015 6:07 pm

I

You need to define the arm length in XML file. In next version i calc length with motor position.

Fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Tue May 12, 2015 8:19 pm

fred_fr wrote:I

You need to define the arm length in XML file. In next version i calc length with motor position.

Fred

Hi fred,
<distance> section can be omitted for custom frames. That's why arm length should be calculated from geometry section.
quadx.PNG
Quad x
quadx.PNG (9.62 KiB) Viewed 5085 times

custom frame.PNG
custom frame
custom frame.PNG (12.09 KiB) Viewed 5085 times

Quad-x vs. custom frame: small but notable difference (use landing gear as reference points).
Now I need to find out which one flies better :P
Thank you once again for your effort!
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Wed May 13, 2015 5:28 pm

Hi Fred,
one thing you should consider for the next release: is it possible to keep the cube name when writing the wrl-file? If not one has to change it back again if the data is further processed.
3r0c_3D model.JPG
CamCruiser with custom mixer (generated from 3r0c.xml)

3r0c.xml
Final revision of XML-File with custom mixer
(7.43 KiB) Downloaded 171 times

Here's a 3D .PDF file for all off you who are keen to know what you'll get with this tool. O.K., made some re-coloring and also change the cube names to match the .xml-file.
I've used 3D-Tool (http://www.3d-tool.com) to do this; also used to generate the 3D pdf.
3r0c.pdf
3D PDF-File - try the transparency view! Help's you locating errors REALY fast
(40.75 KiB) Downloaded 216 times

Thumbs up Fred 8-)
Cheers
Joerg
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: program to view xml file in 3D

Postby fred_fr » Sun May 17, 2015 9:02 pm

hi

I come back from vacation, New update of program :
- Calcul of arm length for custom frame
- Defined name for the arm

new version : http://autoquad6.free.fr/convert.tcl

fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Mon May 18, 2015 6:00 am

Hi Fred,

thanks for the update! Will test ist later!

Joerg
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Tue May 19, 2015 6:37 pm

Hi Fred,

sorry for the delay! Tested the new convert.tcl today.
For standard frame types it is o.k. - I've attached the .XML file for my rOsewhite Rachel - , but for custom geometry the arms are too short. I think it's only half the real-life size!
Refer to 3r1c.xml and related 3D interactive PDF 3r1c.pdf

Rgds
Joerg

P.S. Is it possible to keep the cube names or not? Have not done any touchup work on the .wrl so far; cubes names were 'Shell1' to 'Shell n' instead of names form the .xml.
3r1c.xml
(8.07 KiB) Downloaded 175 times

3r1c.pdf
Arms for crafts with custom geometry are too short!
(40.31 KiB) Downloaded 196 times

rachel_0r1.xml
.XML file for Quatos - rOsewhite Rachel frame
(5.35 KiB) Downloaded 184 times

rachel_0r1.pdf
Interactive 3D PDF of rOsewhite Rachel
(40.25 KiB) Downloaded 186 times
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: program to view xml file in 3D

Postby fred_fr » Tue May 19, 2015 9:31 pm

hi

For custom frame, I forget to make translation of arms. It' done now arm have full size. http://autoquad6.free.fr/convert.tcl

In program I dont define cubes name like 'Shell1'

For cube name could you send me your wrl file modify with correct name

Joerg thanks for your help and test


fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Wed May 20, 2015 6:21 am

fred_fr wrote:hi
For custom frame, I forget to make translation of arms. It' done now arm have full size. http://autoquad6.free.fr/convert.tcl

In program I dont define cubes name like 'Shell1'

For cube name could you send me your wrl file modify with correct name
Joerg thanks for your help and test
fred


Hi Frank,
latest convert.tcl does no longer work!
error message.PNG
error message.PNG (50.31 KiB) Viewed 4950 times

Here is the .wrl file corresponding to this post (viewtopic.php?f=48&t=4456&p=32885#p32702). It has all the cube names/colours changed.
3r0c.wrl.zip
(2.46 KiB) Downloaded 152 times

Rgds
Joerg
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: program to view xml file in 3D

Postby fred_fr » Wed May 20, 2015 8:21 pm

hi

We have make a new version
- correct last bug
- define cube names :)

http://autoquad6.free.fr/convert.tcl

fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Thu May 21, 2015 6:16 am

fred_fr wrote:hi

We have make a new version
- correct last bug
- define cube names :)

http://autoquad6.free.fr/convert.tcl

fred


Hi Fred,

are you sure you've posted the right/new version? It's still version 0.4 and I still have that error and no cube names.
Capture.JPG

rachel_0r1.wrl.zip
wrl-file converted today - result is shown in the screenshot above
(840 Bytes) Downloaded 152 times

Best regards
Joerg
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

PreviousNext

Return to Quatos Adaptive Control

Who is online

Users browsing this forum: No registered users and 2 guests

cron