Cannot import VRML file
› DELFTship forum › Hull modeling › Cannot import VRML file
- This topic has 18 replies, 3 voices, and was last updated 13 years, 8 months ago by
Wild.
-
AuthorPosts
-
-
January 22, 2010 at 10:44 #33912
Wild
ParticipantI am trying to import VRML 1.0 file (extension .wrl) to DelfShip 3.20 File -> Import -> VRML
It gives me error “No meshdata could be imported”.
All my others 3D programs are able to open this file.
I tried open other VRML files, but no luck ether. It gives me something like “It is not valid VRML 1.0 file” OR the error above, etc.
What can I do about it? Is there any “test” files to try VRML import function?
Attachments: -
January 22, 2010 at 11:26 #33914
Wild
ParticipantNever mind… It was the file, which is not really compatible with original VRML 1.0 standard. It works after editing.
Now I am trying to figure out how to change it in DelfShip. Model has symmetrical shape. Do I need to cut half of it for DS to show it correctly? [file name=9_4_VRML_1_corrected.zip size=1086]http://www.delftship.net/delftship/media/kunena/attachments/legacy/files/9_4_VRML_1_corrected.zip[/file]
Attachments: -
January 22, 2010 at 12:10 #33916
Wild
ParticipantThis is what I could come up with so far in converting VRML 1.0 .wrl file to DelfShip’s(DS) .fbm format manually after importing it. See attached file.
DS allows me to delete edges, but will not allow to create it. I cannot calculate design hydrostatics too. It gives me error “You have to set mainparticulars first”. How can I do it? As I understand, all lines should be completed by control’s lines. But how to replace all lines by controle ones? [file name=9_4_VRML_1_v2.zip size=18558]http://www.delftship.net/delftship/media/kunena/attachments/legacy/files/9_4_VRML_1_v2.zip[/file]
Attachments: -
January 23, 2010 at 03:29 #33918
otaku
ParticipantI got that error, too. At some point i gave up, having had more fish to fry (bigger, more pressing tasks…)
I think i was trying to import a naval hull so i could compare its hydros to mine as a sanity check. There was some other reason, too, which i’ll not remember unless i go through the motions to recreate the memory stream.
Vaguely i think i was trying to reimport to DELFTship a model i worked on in ViaCAD & ViaCAD Pro, which before that was my original DS-originated model. Seemed to me that letting an external app touch the lines broke something and D/S couldn’t or wouldn’t retake my work.
I think was i was after was to reimport to DS my “adjusted” VCP model.
Next i tried to check the VRML output in PolyCAD, and i think it, too, balked at the non-presence of some curves or mesh or the presence of something or other. I probably won’t revisit it unless someone gives positive, happy feedback that it’s a doable thing.
-
January 23, 2010 at 12:53 #33919
Marven
KeymasterWildexplorer wrote:
DS allows me to delete edges, but will not allow to create it.
You can not create edges manually. Instead you should extrude existing edges, or manually add a new face to some selected points. The edges will be created by the program.
“You have to set mainparticulars first”. How can I do it?
Go to the project settings tab page and fill in the length, beam and draft of your boat. The program will need this information to calculate the hydrostatics.
-
January 23, 2010 at 13:47 #33920
Wild
ParticipantI got that error, too. At some point i gave up, having had more fish to fry (bigger, more pressing tasks…)
I think DS use original VRML 1.0 format. Most programs use modified VRML 1.0 or VRML 2.0 I had to manually correct exported by 3D program VRML file which suppose to be VRML 1.0 It turend out it was modified VRML 1.0
I will take DS’s tutorial file – export it, convert it and import it back to DS and see if it works. I will report my progress/problems.
-
January 24, 2010 at 10:15 #33921
Wild
ParticipantSystem just swallowed my message ;( Writing it again.
I took “Trace demo” file used as DS tutorial (how to transfer lines to DS) and exported it as DXF 3D mesh when DS was showing both sides of the hull.
Then, I imported it in SU, exported it as COLLADA file. Converted COLLADA file to VRML 1.0 and imported it back to DS.
VRML file was about 2 Meg and it took DS ~10 min to import ot on Core2Duo 1.4 MGz processor. Hull looks OK in 3D, but not all lines the same as original. Hydrostatics are off too. When choosing “show both hull’s sides” option, it shows double hull. I attached image of DS in “half of the hull” option too.
I will try to export only half of the hull from DS as DXF 3D mesh. Will see what happens.
-
January 24, 2010 at 10:18 #33923
Wild
ParticipantTrying again
Ok. System does not allow upload file more than 800×800 regardless of size ;(
Attachments: -
January 24, 2010 at 10:28 #33925
Wild
ParticipantHalf hull mode
Attachments: -
January 24, 2010 at 12:29 #33926
Marven
KeymasterYou should move the hull so the centerline goes through the origin (y=0.0);
Then use the command “Remove negative” from the tools menu. It will remove all the faces on starboard side so only half your hull remains
-
January 25, 2010 at 08:12 #33930
Wild
ParticipantThat will be very hard to do because imported model has 22784 faces, 34304 edges, 11521 points, 0 curves
My computer just freezes trying to render the screen. Anyway, I need to move ALL these points. And put hull EXACTLY at center line. I do not see how I can accomplish this. “Move to baseline” tool does not work – it already aligned hull the best way it could.
Attachments: -
January 25, 2010 at 08:16 #33931
Wild
ParticipantSo, if I import half of the hull DS will work correctly. But how can I import asymmetrical hull or the hull with asymmetrical super-structure in DS? I cannot just cut half of it….
-
January 25, 2010 at 21:12 #33932
otaku
ParticipantI hate it when on-line sites swallow my hard-crafted writings… whether in the computer or on the hand phone.
It happens just enough that i copy (Ctrl+C) as i type, or copy and paste periodically to notepad and then sometimes completely draft in notepad (minding the word-wrap) and then paste it and hit send. You might want to try that… i can help reduce or eliminate anxiety and stress… 🙂
-
January 25, 2010 at 21:20 #33933
otaku
ParticipantWildexplorer,
You can move them all by using the menu’s “select; all” feature. Then, use the menu’s “transform; move” (to translate) all the selected lines.
You may want to also select the option to move all related/associated surfaces/faces/objects (i forget the exact terminology) along with those points.
Select the appropriate x/y/z axis distance you need.
Figuring this out enabled me to take a naval hull model and get the hydrostatics/resistance sheet to stop erroring out. Someone who saved the 5415 hull shoved the sonar/baseline away some 6′ and ONLY after i corrected to distance would DS read the file’s information. At first i though the file’s author did it intentionally, and it was frustrating to wrack my brain wonderin who and why such a thing would be done, but DS enabled me to relieve that stress.
SUP at $495 would be painful for me if i needed any of SUP’s features. SU and SUP have very nice features, but for now i am contented with DS Free! and ViaCAD Pro, hopefully being able to buy DS Professional in a few months.
-
January 26, 2010 at 08:04 #33934
Wild
ParticipantYou can move them all by using the menu’s “select; all” feature. Then, use the menu’s “transform; move” (to translate) all the selected lines.
Thanks! Transform -> Move works. I just need to figure out how to reduce numbers of points in imported file – too many of them to work with. Another problem – size. It is off big time. Length is 81m instead of ~7m, etc after importing, but it is NOT DS problem. More likely converter problem.
Well, it looks like DS is limited to symmetrical hulls. It is OK, just need to remember about it.
-
January 26, 2010 at 21:39 #33938
otaku
ParticipantHave you checked your project settings? It seems some are having issues if they import DXF (IIRC; see the Sketchup threads) when the project and the source app are one in metric and the other in imperial.
As for symmetric hulls, DS Free! won’t handle/give (correct?) hydros. You might figure out how to mirror hulls (i did) but i am not sure the hydros will be accurate. Pro, instead, is what you’ll need if you need twin/multi-hulls and hydros info.
Various threads exist here about them.
-
January 27, 2010 at 10:31 #33943
Wild
ParticipantHave you checked your project settings? It seems some are having issues if they import DXF (IIRC; see the Sketchup threads) when the project and the source app are one in metric and the other in imperial.
Yeah. It is me who experimenting with all this export/import things between different 3D/2D software ;))
It could be just SU 7.1 problem exporting into COLLADA file. Even if SU shows smaller (exported) model(Metric/Imperial), it still exports over-sized result.
I converted DXF (exported from DS) to VRML and imported it back to DS – no problem. It disables some functions in DS, but workable.
I would like to have DS Pro one day, but for now, DS Free is good enough for me to work with symmetrical models. I just need to make them from paper, that why I play with all this export/import staff.
-
January 28, 2010 at 08:27 #33955
Wild
ParticipantHere are files of 10x5x3 feet half box exported from DS as DXF, converted to VRML, exported back to DS. Final half box size is 10x5x3 METERS. Model need rescaling to proper foot length and minor corrections (make some points “corner” points). Other than that no big problems.
More problems created going trough more conversions. [file name=Box_10x5x3_DS_2_DFX_2_VRML_2_DS.zip size=26655]http://www.delftship.net/delftship/media/kunena/attachments/legacy/files/Box_10x5x3_DS_2_DFX_2_VRML_2_DS.zip[/file]
Attachments: -
January 28, 2010 at 10:17 #33956
Wild
ParticipantI forgot to put original DS file in zip archive. DS half box 10x5x3 feet – goes separately (used for DXF export). [file name=DS_Box_10x5x3_by_Marven_rescaled_2_feet.fbm size=404]http://www.delftship.net/delftship/media/kunena/attachments/legacy/files/DS_Box_10x5x3_by_Marven_rescaled_2_feet.fbm[/file]
Attachments:
-
-
AuthorPosts
- You must be logged in to reply to this topic.
Your account
Recent Topics
-
resistance hull data not showing
by
Evergreenboats
6 days, 5 hours ago -
Coordinate system: Transverse reference: definition of “PS” and “SB”
by
rkg
1 week, 4 days ago -
install problems
by
tcurdt
1 month, 4 weeks ago -
Changing Position of Aft Perpendicular
by
Marcus
2 months, 1 week ago -
What counts as lateral area?
by
RobinJ
2 months, 1 week ago -
Variables in report headers and footers
by
rkg
2 months, 2 weeks ago -
Launching curves
by
fridomero@gmail.com
2 months, 4 weeks ago -
Importing AYacht rep files and converting to separate developed plates.
by
Denis Pratt
2 months, 4 weeks ago -
Report capability
by
Tenaja
2 months, 4 weeks ago -
HOW TO IMPORT IMAGES TO DELFTSHIP?
by
TrungQuyet
3 months, 2 weeks ago