|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: problem when using "Export to HTML5" plugin » » » » Post: problem when using "Export to HTML5" plugin |
Print at Dec 18, 2025, 11:02:23 PM |
| Posted by WenFai at Aug 1, 2017, 11:05:46 AM |
problem when using "Export to HTML5" pluginHi, I cannot update the image in thead so I can just type text here. Before showing the problem, let me introduce the background: I have drafted the plugin that build mansion by a basic plan for one level(By entering the number for how much level we want). After entering the level we want, the plugin not copying the level but just set the wall height by (wall.setHeight(originHight * level)) and copy the windows and doors by setting their Elevation for each level. Then it can see the mansion's structure now. But as we just simply set wall height, the floor is still in the first level. Then I just set the room's level up to top by [room.setLevel(new Level(build.intValue()+"",home.getWallHeight() * (build.intValue()-1),5,home.getWallHeight()));] and the floor come to top level now and we can just see the detail structure in level for each mansion by Aerial view. Then comes the problem, it works and shows normally when using exe but when I export to html5, the floor is still in first floor(Others like walls, windows, doors still ok in html5)! It looks like when using setElevation(for windows, doors) it shows normally in html5 for each level. But when using room.setLevel, it looks ok in exe(floor comes to top level) but not ok in html5(still in html5). Please kindly help for this one? Thanks very much! |
|
|
Current timezone is GMT Dec 18, 2025, 11:02:23 PM |