Re: [Wikitech-l] 3d Online Geometry Viewer

2014-02-27 Thread Inderpreet Singh
On Tue, Jan 14, 2014 at 12:28 AM, Eugene Zelenko
eugene.zele...@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

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] February '14 appreciation thread

2014-02-20 Thread Inderpreet Singh
On Thu, Feb 13, 2014 at 1:15 AM, Tomasz W. Kozlowski
tom...@twkozlowski.net wrote:
 Hi!
 In a shameless copy of Sumana's August 2012 idea, I'd like to send public
 thanks to some people who have helped me get some things done in the past
 few weeks/days:

I am new here, and I am already in love with this community.

Thanks to you for posting this mail and then thanks to

David Cucena, Quim Gil, Brain Wolff, Eugene Zelenko for welcoming me
to the community and helping me with questions on 3D geometry viewer.

--
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

Re: [Wikitech-l] 3d Online Geometry Viewer

2014-01-13 Thread Inderpreet Singh
On Sat, Jan 11, 2014 at 5:28 AM, Brian Wolff bawo...@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

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] 3d Online Geometry Viewer

2014-01-09 Thread Inderpreet Singh
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