3D Modelling Library (openscad) Java integration - 3d-modelling

I want to build very simple 3D Model of Single Room based on user inputs. User will provide inputs like what will be size of wall , no of rooms , how many doors should be there etc.
Based on input programme should generate 3D model image that will be downloadable to user. Once POC is in place we want to expose it as API.
I came to know about OPENSCAD , it has it's own description language. Does it provide any library where we can provide input and it genrates 3D model files(STL files)?
Or is there any other solution , preference would be to Java but open to other languages like python,c++.

Related

Autodesk Forge tutorials for Model Check App

Hi everyone
I've started to learn about Autodesk Forge and I'm a beginner in coding.
I've been able to put together the Model 3D Viewer following this tutorial:
https://www.youtube.com/watch?v=8FMwgJcRHz8
My current tusk is:
to build a WebApp on Forge for model elements naming check based on customisable validation schemas similar to this one:
https://www.youtube.com/watch?v=pxM5TojTmLE
With additional functionality of creating a BIM360 issue for every mismatch fond by checker, like this:
https://www.youtube.com/watch?v=j9EgshGh2is
My questions are:
Is there any learning paths or educational platform that I can use to achieve my goals on this?
Can you please share any relevant experience?
Any advices would be highly appreciated
P.S: I know about this one already:
https://learnforge.autodesk.io/#/?id=learn-autodesk-forge
Thanks in advance
Cheers
You can check the object names in two ways:
Option 1: Translate your designs with Forge & check the conversion output
The Forge Model Derivative service can extract all sorts of information (3D geometry, 2D drawings, property metadata, design hierarchies, etc.) from over 60 different design file formats, incl. Revit. The extracted data can then be viewed in Forge Viewer, or explored using various endpoints or through SDKs for specific programming language. In your case you could use the GET :urn/metadata/:guid endpoint to retrieve the design hierarchy which includes object names.
Option 2: Check your designs with custom Revit plugin using Design Automation
If you're familiar with Revit API and plugin development, you could also use the Forge Design Automation service to process Revit models with your custom plugin remotely, by starting a Revit instance on Autodesk servers.

How to exclude (ignore) a GIS route programmatically in Anylogic?

While working with Anylogic user can open properties of some GIS route (or some other object) and push checkbox "Ignore". The GIS route will be excluded from the model and after running the model user wont see the object because it wont exist.
Is it possible to exclude some GIS routes in interactive mode? For example I drew in Anylogic big GIS network with many GIS routes and after running the model (!) I want to have a possibility to choose routes which should not be included in the network. E.g. it can be implemented in Simulation window.
I was looking for suitable JAVA code but I did not find anything except Visible-property.
you can not programmatically "ingore" something, this is not how Java works.
In your case, the only way is to create the GIS network programmatically as well at the start of the model. Now you have full control because you could decide to only create part of your network, depending on user choice.
Check the AnyLogic API on how to create GIS routes programmatically.
cheers

Upload 3D model in to unity app which is stored in to the DB

I'm new for unity.. In my project I have a function that indicate Interior designing using Augment reality.. The thing is the designer can be able to upload their designed interior design in to our app, for this I need some help, When I refer the internet I got the information about 'online Directory' (For store the asset in to that, then he can upload that), I don't know whether it will be useful or not, Can any one please suggest a solution for this scenario?
First of all it is important to know that the user can not send a 3D model (.FBX) to the app. You can only use existing models within Unity 3D.
If you want the user to download new 3D models, you can use AssetBundles.
If you want the user to create a decoration and share it with friends, you should create a JSON / XML with all objects and positions and save it to your database. When another user requests this file, it will be downloaded and the objects will be dynamically created in a scene for the user to admire all 3D objects.

Display function graph on the web

I would like to display a couple of function graphs in a web browser. That is, I have a few functions, like distribution or density functions, regularly generated by data analysis tools and I'd like to make those accessible via a web browser. They should be rendered as line charts, actual values displayed e.g. in a tooltip when hovering over the chart. The ability to zoom in would be nice but not essential. Also, a nice dashboard like arrangement would be nice. Now I have the data (each function represented as a list of floats), how do I best render them?
Generating static images might be an option, but they're not interactive at all. I see there are javascript frameworks to display charts, but I have the feeling there must be some ready-made solution out there to grab numbers from a file, or DB, or wherever, and show functions; hence, I don't want to start writing my own javascript. I thought about Grafana, but that's time series oriented and my data is not time series. I thought about importing the data into Google spreadsheets and create charts there programmatically, but I'd like to have at least a few thousands data points per chart and am not sure if that would work out performancewise.
What do you suggest?
use the simplest php Graph library. PHPMYGRAPH.
http://phpmygraph.abisvmm.nl/

Web frameworks oriented towards graph databases?

I am to build a web app and I have realized that my domain data will be best represented by a graph structure. Which web frameworks out there does the greatest job at integrating with graph databases (neo4j in my case) and thereby gives me the easiest time getting up and running? I am open for all languages (mostly..)
EDIT:
My use case:
I am creating a bug tracker for a university department. It will track all kinds of issues (eg.: the classroom 1-0-24 needs chalk for the whiteboard, the course 'Introduction to programming sucks because of...', The alarm on the door into the library is way too strict, etc.)
I have defined loads of 'Areas of responsibility' (AoR) that are related to each other in terms of 'topically relatedness', 'is a super-AoR', 'is a sub-AoR', 'the responsible team is also responsible for this other AoR' and such. I want to present a graph of these areas of responsibility to the user. This is my wishlist for the graph:
Initially only show a subset of the graph
The user can pan around
As the user pans in one direction, new areas of the graph is revealed.
The user can click on a node to a) read more about that AoR, b) assign the users current Issue to that AoR (or maybe even drag issues to a AoR, just like with friends in Google+)
Currently I am considering using Grails (for the non-graphy parts like security and user management) and raw neo4j for the graph parts (that is, not using the GORM plugin that tries to fit a circle in a square hole)
I have now read about InfoGrid and it sounds quite interesting - especially the view-part (though I don't know how close it will bring me to my UX goal). I'm also worryed that it will not be as productive as Grails for the non-graphy parts.
Neo4j doesn't seem completely lost when it comes to visualisation either:
http://wiki.neo4j.org/content/Visualization_options_for_graphs
The InfoGrid project built its own web framework on top of the InfoGrid graph database -- precisely because existing web frameworks don't match graphs very well.
For example, we have custom tags for traversing (simple and compound) edges, detecting certain topologies, converting node identifiers into URLs etc.
Disagreeing with the other commenter, it would be so much harder (and so much less fun) to use a non-graph-aware web framework. We used to :-(
Any web framework you'll choose, should be absolutely independent on the DB integration. From my experience, the best web framework is the one you know the best.
When choosing web frameworks, it is better to consider different criteria than DB integration, (like: public vs intranet application, statless vs statefull model, number of expected concurrent users, etc).