Collaborative CAD platform

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Postby gflorent » Fri Dec 14, 2018 4:29 pm

nemesis wrote:
Sun Dec 02, 2018 8:34 am
another question.
as far as I understand it display the brep of the freecad file, so I guess it is why, on a single file, with a single body, when we are suppose to see only one part, there is also other "part" displayed?
The web display for FreeCAD files now takes visibility (as defined in the GuiDocument.xml of the zipped Fcstd file) for display. So the invisible parts used for construction will not appear. Link to the example you mentionned:
http://139.162.143.137:3000/nemesis81/K ... nfAv.fcstd
Assembly3 and Meshes yet to be dealt with.
paullee
Posts: 1382
Joined: Wed May 04, 2016 3:58 pm

Re: Collaborative CAD platform

Postby paullee » Tue Dec 18, 2018 5:49 am

I have not studied BIMserver etc...

What are difference in functions / target audience with this project?

Thanks.
User avatar
NormandC
Posts: 18425
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Collaborative CAD platform

Postby NormandC » Tue Dec 18, 2018 11:49 pm

nemesis wrote:
Sun Dec 02, 2018 8:34 am
as far as I understand it display the brep of the freecad file, so I guess it is why, on a single file, with a single body, when we are suppose to see only one part, there is also other "part" displayed?
A FCStd document can actually contain many brep files. Each time you create a sketch or a feature (or a Part/Draft/Arch object), a brep file is saved in the document (this may be what makes FC files so big compared to commercial programs). The long dark blue cylinder seen in your screenshot is probably the brep for a Pocket feature set to "through all". If the document contains a single Body, then usually the last brep file should represent the final part.

FCStd is actually a zip container. Just rename its file extension to .zip and extract it to see its content. Import each of its brep files in FreeCAD to see what I mean.

I'm guessing gflorent's viewer needs to interpret all brep files contained in a document and only display the appropriate brep files.

Really impressive project BTW! It would be real nice if the FreeCAD-library could work that way! But I'm guessing it would mean moving it from Github to a self-hosted repo based on your fork.
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Postby gflorent » Wed Dec 19, 2018 3:17 pm

NormandC wrote:
Tue Dec 18, 2018 11:49 pm
nemesis wrote:
Sun Dec 02, 2018 8:34 am
as far as I understand it display the brep of the freecad file, so I guess it is why, on a single file, with a single body, when we are suppose to see only one part, there is also other "part" displayed?
A FCStd document can actually contain many brep files. Each time you create a sketch or a feature (or a Part/Draft/Arch object), a brep file is saved in the document (this may be what makes FC files so big compared to commercial programs). The long dark blue cylinder seen in your screenshot is probably the brep for a Pocket feature set to "through all". If the document contains a single Body, then usually the last brep file should represent the final part.

FCStd is actually a zip container. Just rename its file extension to .zip and extract it to see its content. Import each of its brep files in FreeCAD to see what I mean.

I'm guessing gflorent's viewer needs to interpret all brep files contained in a document and only display the appropriate brep files.

Really impressive project BTW! It would be real nice if the FreeCAD-library could work that way! But I'm guessing it would mean moving it from Github to a self-hosted repo based on your fork.
Dealing with the visibility of the BREPs has been implemented (using data from the Document.xml and GuiDocument.xml), so that, for example, 'the long blue cylinder used for cutting' no longer appears and the default zoom is based on visible stuff only.

Regarding FreeCAD-library, a clone is available at my self-hosted repo: http://139.162.143.137:3000/gflorent/FreeCAD-Library (excuse the occasional 500 error for some files, I still have to investigate that)
Last edited by gflorent on Wed Dec 19, 2018 3:33 pm, edited 1 time in total.
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Postby gflorent » Wed Dec 19, 2018 3:32 pm

paullee wrote:
Tue Dec 18, 2018 5:49 am
I have not studied BIMserver etc...

What are difference in functions / target audience with this project?

Thanks.
The target is to create a workflow similar to git/github for CAD. Anyone, anywhere, with any (CAD) tool should be able to contribute to an open car project, to an open boat project ... There is still a lot of ground to cover (assemblies, parts libraries, PDM, CAD merging ...) but some ideas have be tested for the PYOSV project and a web version will be implemented. And I was getting fed up with the (useless unless you 3d print) STL file which only use was to get a preview on Github ...;-)
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Postby gflorent » Wed Jan 16, 2019 6:00 pm

The initial prototype has been polished a bit and is now in its first version (0.1) : http://cadracks.org (language selection is in the bottom right corner)
The FreeCAD-Library is browsable online at http://www.cadracks.org/gflorent/FreeCAD-Library
More info about the project is available at : https://cadracks.github.io
The roadmap for future developments : https://cadracks.github.io/blog/2019/01/15/The_roadmap

Thanks to the FreeCAD project (FCStd files are already supported !) for what it is and for the help received on this forum, to the OpenCascade project, to the PythonOCC project (PythonOCC scripts will be supported soon), to the gogs/gitea project and many others!
Special thanks to Thomas Paviot (PythonOCC), Bernard Uguen, Valérie Guichon, to the initial users on this forum and elsewhere and to those who will try this new project.

This is only the beginning. The best is yet to come ;-)
User avatar
bitacovir
Posts: 507
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Collaborative CAD platform

Postby bitacovir » Wed Jan 16, 2019 7:28 pm

Good luck. Please, let us know about any new from this project.
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Postby gflorent » Wed Jan 16, 2019 7:43 pm

Thanks. Basically, in its current version, it is a good substitute to GitHub if you have CAD files. You get the same user management (Sign Up at http://cadracks.org/user/sign_up) and project management functionnality at http://cadracks.org but with a viewer for CAD.
Last edited by gflorent on Wed Jan 16, 2019 10:17 pm, edited 1 time in total.
User avatar
bitacovir
Posts: 507
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Collaborative CAD platform

Postby bitacovir » Wed Jan 16, 2019 9:46 pm

Maybe the people from http://openingdesign.com/ could be interested in this. They use GitHub
yorik wrote:ping
Last edited by bitacovir on Thu Jan 17, 2019 9:28 pm, edited 1 time in total.
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
NormandC
Posts: 18425
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Collaborative CAD platform

Postby NormandC » Thu Jan 17, 2019 3:38 am

bitacovir, this won't send a notification to yorik. You need to insert the user_id inside the first quote tag. Quote somebody's reply to see how.