Search found 12 matches

by microartisan
Wed Apr 25, 2018 4:25 pm
Forum: Python scripting and macros
Topic: Storing FreeCAD files in a git repo
Replies: 33
Views: 15781

Re: Storing FreeCAD files in a git repo

Yeah, you are right, the whole size shouldn't grow much over time. Yes but 99% of what is inside a freecad file is text (the xml files, and the brep files). So if you have a large freecad file, but most of the shapes inside don't change, most of the brep files will stay the same, and even if your ca...
by microartisan
Wed Apr 25, 2018 4:23 pm
Forum: Python scripting and macros
Topic: Storing FreeCAD files in a git repo
Replies: 33
Views: 15781

Re: Storing FreeCAD files in a git repo

checked you code in github.
It looks you don't unzip the freecad file?
right?
Kunda1 wrote: Wed Apr 25, 2018 3:55 pm WIP https://github.com/reox/FreeCAD_gitproject
reox wrote:poke
by microartisan
Tue Apr 24, 2018 4:28 am
Forum: Python scripting and macros
Topic: Storing FreeCAD files in a git repo
Replies: 33
Views: 15781

Re: Storing FreeCAD files in a git repo

the principle of this tool is : 1. unzip freecad file to files and write to one utf-8 cache. 2. use git to deal with this cache. So it works very well if the freecad file is small. If the feecad file is big, it means the cache also very big, maybe will catch some problem. So far I have not try big f...
by microartisan
Tue Apr 03, 2018 1:33 pm
Forum: Install / Compile
Topic: Cannot compile FreeCad on MacOS X
Replies: 19
Views: 4770

Re: Cannot compile FreeCad on MacOS X

-DBUILD_ENABLE_CXX_STD=C++14 @federico.carminati, c++14 is very userful option :) and I create CMAKE_PREFIX_PATH by the command from https://www.freecadweb.org/wiki/CompileOnMac ls -d $(brew list -1 | grep qt | tail -1 | xargs brew --cellar)/*/lib/cmake it is my final cmake code : cmake \ -DBUILD_Q...
by microartisan
Tue Apr 03, 2018 10:54 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

thanks, next time I will try your options setting :)
by microartisan
Tue Apr 03, 2018 10:52 am
Forum: Install / Compile
Topic: Cannot compile FreeCad on MacOS X
Replies: 19
Views: 4770

Re: Cannot compile FreeCad on MacOS X

It will be wonderful if anyone can upgrade the mac-brew compile wiki.
by microartisan
Tue Apr 03, 2018 10:47 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

befor I rename to MacOSX10.12.sdk i got this error: Determining if the include file GL/gl.h exists failed with the following output: Change Dir: /Users/apple/Documents/caad/caad.xyz/homebrew-freecad/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e8299/fast" /Applicat...
by microartisan
Tue Apr 03, 2018 10:36 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

currently , if you upgrade brew, your python will become python3. to compile freecad, you need python2. right? and if you use the newest xcode , it will use MacOSX10.13.sdk. In my case , I think some of freecad/freecad dependencies from brew still use MacOSX10.12.sdk. That is why I copy and rename M...
by microartisan
Mon Apr 02, 2018 9:45 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

@federico.carminati this is my situation, maybe will have a bit help to you. https://github.com/FreeCAD/homebrew-freecad/issues/86 my computer is macOS High Sierra version 10.13.3(17D102) i install pyenv by homebrew and install python2.7 by pyenv. brew install --only-dependencies freecad --with-pack...
by microartisan
Sun Apr 01, 2018 7:52 pm
Forum: Announcements & Features
Topic: WebGL export
Replies: 129
Views: 73753

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