WebGL export
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: WebGL export
Attached an webgl building export I'm dreaming to do with FreeCAD one day. http://www.b75.ch/webgl/biberstein/
Re: WebGL export
intersting... this seems to be produced with ifc++?
Re: WebGL export
Yes with closed source free Windows version of ifc++yorik wrote:intersting... this seems to be produced with ifc++?
But may be BIM Surfer and BIM Server will do the job too. There has been lots of development in BIM Surfer lately. https://github.com/opensourceBIM/BIMsurfer
-
- Posts: 12
- Joined: Fri Mar 23, 2018 11:52 am
- Location: beijing
- Contact:
Re: WebGL export
I find a bug also
https://www.freecadweb.org/tracker/view.php?id=3418
I build a simple box ant export to html , it can not open by browser.
then I change to
it works.
https://www.freecadweb.org/tracker/view.php?id=3418
I build a simple box ant export to html , it can not open by browser.
Code: Select all
geom.faces.push( new THREE.Face3(0L, 1L, 2L) );
geom.faces.push( new THREE.Face3(3L, 1L, 0L) );
geom.faces.push( new THREE.Face3(4L, 5L, 6L) );
geom.faces.push( new THREE.Face3(4L, 7L, 5L) );
geom.faces.push( new THREE.Face3(7L, 4L, 3L) );
geom.faces.push( new THREE.Face3(3L, 4L, 1L) );
geom.faces.push( new THREE.Face3(6L, 5L, 0L) );
geom.faces.push( new THREE.Face3(6L, 0L, 2L) );
geom.faces.push( new THREE.Face3(0L, 5L, 3L) );
geom.faces.push( new THREE.Face3(3L, 5L, 7L) );
geom.faces.push( new THREE.Face3(6L, 2L, 1L) );
geom.faces.push( new THREE.Face3(6L, 1L, 4L) );
Code: Select all
THREE.Face3(3, 5, 7)
Last edited by microartisan on Mon Apr 02, 2018 5:04 am, edited 1 time in total.
Re: WebGL export
Please add the ticket number that you opened in the tracker for this here in the forum and add the link to this thread in the ticket. Thanks
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: WebGL export
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: WebGL export
Added, thanks for the fix!
Re: WebGL export
There is a discussion about Collaborative CAD Platform not sure is there something related
- supported by Three.js, show model by uploading FC file.
https://forum.freecadweb.org/viewtopic.php?f=8&t=32521
- supported by Three.js, show model by uploading FC file.
https://forum.freecadweb.org/viewtopic.php?f=8&t=32521
Re: WebGL export
I am trying to incorporate repeated and if possible rapid exports of a FreeCAD model into a Three.js canvas component of a React web app. I read that WebGL export utilizes Three.js so I think this must be possible. I know this is less portable than the WebGL export this thread is focused on but it could allow for more full control and interaction with the model through interactive React/Three.js widgets etc. Any suggestions on how to implement my FreeCAD/Three.js/React component idea would be greatly appreciated.