Northwind Posted December 14, 2017 Share Posted December 14, 2017 Hi guys, Just as a newbie in this forum, I need your help. I want to do a project doing the following things: a. upload a file which is a CAD model (may represent a small ship or a cylinder) and send the file to the server. b. do some calculations on the server side. c.send back the meshed data and display them on the chrome or IE, etc. Can anyone tell me whether there are already such prototype implementations that I can customize? thank you. Regards John Quote Link to comment Share on other sites More sharing options...
Wingnut Posted December 14, 2017 Share Posted December 14, 2017 Hiya Northwind, welcome to the forum! Sorry for the slow replies... makes me sad. I am not an expert at these things, but I'm sure similar things have been done. Anyway, I wanted to welcome you to the forum, and say Hi! The forum is a bit sleepy at the moment, likely due-to upcoming holiday season. Likely, you'll want to import the CAD model... into a modeller such as 3dsMax or Blender. Then, export from modeller to myModel.babylon file (a JSON file). Then publish a webpage on a web server, with BJS scene code that loads-in myModel.babylon. Then your webGL-rendered model is "public" and view-able in a browser. You may need to adjust your webserver allowed mime types... to allow .babylon files. You want to modify the model on the server side? That should be possible, depending upon what you want to modify. Could you please give us more details about those "calculations on the server side"? Are they only for texturing, coloring, position, rotation, scaling, lighting, etc (scene layout)? Or do you want to modify the vertices/shape of the model (modelling)? Both? More info from you == more forum helpers. Currently, it is difficult to determine if/not similar systems are easily available to you, because we don't have a precise description of what you wish to do. Do your best to describe as many details of your wishes... as possible. thx agn. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.