Hi, I am Inderpreet Singh, this is my first mail and I hope I am on correct mailing list. I am currently working on an online geometry viewer that was developed under BRL-CAD (brlcad.org) as one of it's GSOC projects last summer. It's in it's very basic stage. It currently allows you to upload a CAD model (.g file) and view it 3D in the browser. I was planning to add a feature that would allow users to embed their models on websites and share it, (think of it as http://codepen.io/ for CAD). Also, we were planning to add a mged command interface so that we can edit the CAD model online using mged commands. We were having discussions over these when someone among us pointed out that there is a need of similar extension for mediawiki. I would really love to know more about the requirements and propose BRL-CAD (one of the oldest open source repositories in world) on a server with web-interface as a full open source candidate for the required tool.
-- Inderpreet Singh
Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder
Hi Inderpreet,
Welcome and thanks for reaching out, there is definitely the need of a 3d viewer for mediawiki and brl-cad could add some of the needed features. Probably you could contact Bryan Davis, since he offered himself as GsoC mentor for such a project: https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#New_med...
I'm also CC'ing Fabrice Florin, product manager of the multimedia team, because I guess that the 3d viewer could be somehow related to the Multimedia Viewer. http://www.mediawiki.org/wiki/Multimedia/About_Media_Viewer
I hope it helps. Cheers, Micru
On Thu, Jan 9, 2014 at 10:50 AM, Inderpreet Singh indrplus@gmail.comwrote:
Hi, I am Inderpreet Singh, this is my first mail and I hope I am on correct mailing list. I am currently working on an online geometry viewer that was developed under BRL-CAD (brlcad.org) as one of it's GSOC projects last summer. It's in it's very basic stage. It currently allows you to upload a CAD model (.g file) and view it 3D in the browser. I was planning to add a feature that would allow users to embed their models on websites and share it, (think of it as http://codepen.io/ for CAD). Also, we were planning to add a mged command interface so that we can edit the CAD model online using mged commands. We were having discussions over these when someone among us pointed out that there is a need of similar extension for mediawiki. I would really love to know more about the requirements and propose BRL-CAD (one of the oldest open source repositories in world) on a server with web-interface as a full open source candidate for the required tool.
-- Inderpreet Singh
Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 01/10/2014 04:43 AM, David Cuenca wrote:
Hi Inderpreet,
Hello Inderpreet,
Welcome and thanks for reaching out, there is definitely the need of a 3d viewer for mediawiki and brl-cad could add some of the needed features. Probably you could contact Bryan Davis, since he offered himself as GsoC mentor for such a project: https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#New_med...
I'm also CC'ing Fabrice Florin, product manager of the multimedia team, because I guess that the 3d viewer could be somehow related to the Multimedia Viewer. http://www.mediawiki.org/wiki/Multimedia/About_Media_Viewer
All that, plus the fact that there is a mailing list dedicated to multimedia topics that you might find interesting:
https://lists.wikimedia.org/mailman/listinfo/multimedia
Also, this might be useful:
https://www.mediawiki.org/wiki/Starter_kit
Thank you for your interest in contributing to Wikimedia!
On Jan 9, 2014 5:50 AM, "Inderpreet Singh" indrplus@gmail.com wrote:
Hi, I am Inderpreet Singh, this is my first mail and I hope I am on correct mailing list. I am currently working on an online geometry viewer that was developed under BRL-CAD (brlcad.org) as one of it's GSOC projects last summer. It's in it's very basic stage. It currently allows you to upload a CAD model (.g file) and view it 3D in the browser. I was planning to add a feature that would allow users to embed their models on websites and share it, (think of it as http://codepen.io/ for CAD). Also, we were planning to add a mged command interface so that we can edit the CAD model online using mged commands. We were having discussions over these when someone among us pointed out that there is a need of similar extension for mediawiki. I would really love to know more about the requirements and propose BRL-CAD (one of the oldest open source repositories in world) on a server with web-interface as a full open source candidate for the required tool.
-- Inderpreet Singh
Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi,
Thanks for writing. Previous discussions aboit 3d have usually been about x3d and cml, but i think most people just want a 3d format supported, and dont care which one (to speak from a wikimedia as opposed to a mediawiki prespective).
The basic requirements for a 3d viewer extension (somewhat pulled out of my hat, so some people might have different requitements)
*Secure (obviously very important. No one wants xss in a media viewer. This also includes other things like not making network fetches on the server (this came up in the past with some file formats allowing additional files to be referenced by url)) *should probably allow manipulating the render on the client side (most people want to pan and zoom the 3d file or they would upload a raster file). *relatively efficient. Shouldnt take down the servers. *the php part of the extension should follow mediawiki coding style and quality standards. *should have some sort of fallback for non-js clients (e.g. a jpg thumb of the model) *all parts open source (sounds like this project has nothing to worry about)
I dont really have time to help with such an effort, but would be happy to answer any questions about how media handler plugins work in mediawiki (the docs on that are pretty limited, so don't be afraid to ask). I would also be happy to look over extension code and give advice.
-bawolff
On Sat, Jan 11, 2014 at 5:28 AM, Brian Wolff bawolff@gmail.com wrote:
Hi,
Thanks for writing. Previous discussions aboit 3d have usually been about x3d and cml, but i think most people just want a 3d format supported, and dont care which one (to speak from a wikimedia as opposed to a mediawiki prespective).
Currently we have a support for .g (BRL-CAD's binary file format) files, but BRL-CAD has a long list of supported formats so anything that BRL-CAD can import will be supported. BRL-CAD can export files as X3D but it cannot import them yet :( . The file formats that BRL-CAD can import are ASCII, AutoCad DXF, Elysium Neutral Facetted, EUCLID, FASTGEN, IGES, Jack, NASTRAN, STL, TANKILL, Unigraphics and Viewpoint which can then be internally converted to .g file and exported to .obj for 3D online geometry viewer.
The basic requirements for a 3d viewer extension (somewhat pulled out of my hat, so some people might have different requitements)
*Secure (obviously very important. No one wants xss in a media viewer. This also includes other things like not making network fetches on the server (this came up in the past with some file formats allowing additional files to be referenced by url))
I understand XSS but sorry I, din't really get the second part. :(
*should probably allow manipulating the render on the client side (most people want to pan and zoom the 3d file or they would upload a raster file).
Yes, the rendering is currently being handled by three.js. It has the ability to pan, zoom and even see models in either wireframe or solid mode.
*relatively efficient. Shouldnt take down the servers. *the php part of the extension should follow mediawiki coding style and quality standards. *should have some sort of fallback for non-js clients (e.g. a jpg thumb of the model) *all parts open source (sounds like this project has nothing to worry about)
Thanks, will keep all them in mind.
I dont really have time to help with such an effort, but would be happy to answer any questions about how media handler plugins work in mediawiki (the docs on that are pretty limited, so don't be afraid to ask). I would also be happy to look over extension code and give advice.
Thanks to you and all others for the support. It was for sure a motivating warm welcome.
-- Inderpreet Singh
Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder
Hi!
On Mon, Jan 13, 2014 at 10:47 AM, Inderpreet Singh indrplus@gmail.com wrote:
On Sat, Jan 11, 2014 at 5:28 AM, Brian Wolff bawolff@gmail.com wrote:
Hi,
Thanks for writing. Previous discussions aboit 3d have usually been about x3d and cml, but i think most people just want a 3d format supported, and dont care which one (to speak from a wikimedia as opposed to a mediawiki prespective).
Currently we have a support for .g (BRL-CAD's binary file format) files, but BRL-CAD has a long list of supported formats so anything that BRL-CAD can import will be supported. BRL-CAD can export files as X3D but it cannot import them yet :( . The file formats that BRL-CAD can import are ASCII, AutoCad DXF, Elysium Neutral Facetted, EUCLID, FASTGEN, IGES, Jack, NASTRAN, STL, TANKILL, Unigraphics and Viewpoint which can then be internally converted to .g file and exported to .obj for 3D online geometry viewer.
I think will be good idea to investigate, if there open 3D formats, i. e. non-proprietary and not covered by patents.
Eugene.
On Tue, Jan 14, 2014 at 12:28 AM, Eugene Zelenko eugene.zelenko@gmail.com wrote:
Currently we have a support for .g (BRL-CAD's binary file format) files, but BRL-CAD has a long list of supported formats so anything that BRL-CAD can import will be supported. BRL-CAD can export files as X3D but it cannot import them yet :( . The file formats that BRL-CAD can import are ASCII, AutoCad DXF, Elysium Neutral Facetted, EUCLID, FASTGEN, IGES, Jack, NASTRAN, STL, TANKILL, Unigraphics and Viewpoint which can then be internally converted to .g file and exported to .obj for 3D online geometry viewer.
I think will be good idea to investigate, if there open 3D formats, i. e. non-proprietary and not covered by patents.
.g format by BRL-CAD is an open format.
I saw in those Ideas page referred by David Cucena, that preferred format is X3D, I looked around and found that there can be workarounds through which X3D can be imported in three.js and viewed, same goes for using OBJ, it can be viewed in three.js but as much as I understood from http://brlcad.org/VolumeIV-Converting_Geometry.pdf I don't think we can import them in BRL-CAD yet. There is a GSoC project this year on importing X3D files in BRL-CAD though, so it's being worked upon.
BRL-CAD is also currently working on (read about partial support http://brlcad.org/wiki/STEP) STEP(Standard for the Exchange of Product model data) format (ISO_10303), which is the standard open format for 3D models.
-- Inderpreet Singh
Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder
The basic requirements for a 3d viewer extension (somewhat pulled out
of my
hat, so some people might have different requitements)
*Secure (obviously very important. No one wants xss in a media viewer.
This
also includes other things like not making network fetches on the server (this came up in the past with some file formats allowing additional
files
to be referenced by url))
I understand XSS but sorry I, din't really get the second part. :(
i'm not all that familar with 3d-stuff so this might not apply, but an example of this issue in 2d world is svg files. They can include external embedded images (ie they can include an instruction saying show image from the following url). We turn svgs into pngs on the server side, but disable that feature as we dont want our webservers making http requests to random sites to retrieve the embedded image. (E.g. someone could upload an svg with the hope it will be rendered a lot, and DOS the server where it embeds the image from).
Hope that clarifies what i meant.
-bawolff
wikitech-l@lists.wikimedia.org