Collaborative CAD platform

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Post by gflorent »

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
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: Collaborative CAD platform

Post by paullee »

I have not studied BIMserver etc...

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

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

Re: Collaborative CAD platform

Post by NormandC »

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

Post by gflorent »

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

Post by gflorent »

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

Post by gflorent »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Collaborative CAD platform

Post by bitacovir »

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)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
gflorent
Posts: 49
Joined: Fri Aug 10, 2018 10:05 am
Location: France
Contact:

Re: Collaborative CAD platform

Post by gflorent »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Collaborative CAD platform

Post by bitacovir »

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)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Collaborative CAD platform

Post by NormandC »

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.
Post Reply