Search found 144 matches
- Mon Jan 04, 2021 1:41 pm
- Forum: Install / Compile
- Topic: Compiling with distcc (distribute + speed-up compiling FreeCAD across several machines)
- Replies: 9
- Views: 2713
Re: Compiling with distcc (distribute + speed-up compiling FreeCAD across several machines)
I'm running it on 3 machines, I can compile in about 30 minutes. Haven't built in a little while, I've been using the appimage. Let me verify everything is still working correctly.
- Fri Dec 18, 2020 2:48 pm
- Forum: Path/CAM
- Topic: Tool controller breakage: 'cuttingEdgeAngle'
- Replies: 26
- Views: 3406
Re: Tool controller breakage: 'cuttingEdgeAngle'
It's saying there is no cuttingEdgeAngle, it's not erroring on the height.freman wrote: ↑Fri Dec 18, 2020 8:08 amself.cutEdgeHeight == -1.0 ??Code: Select all
08:02:46 Traceback (most recent call last): <class 'AttributeError'>: 'OCL_Tool' object has no attribute 'cuttingEdgeAngle'
- Thu Dec 17, 2020 3:55 pm
- Forum: Install / Compile
- Topic: Compiling with distcc (distribute + speed-up compiling FreeCAD across several machines)
- Replies: 9
- Views: 2713
Re: Compiling with distcc
Just noticed this, I use distcc with docker. On the remote machines I use the following dockerfile: FROM registry.gitlab.com/daviddaish/freecad_docker_env:latest RUN apt-get update && \ apt-get install -y \ distcc distcc-pump procps g++-6 gcc-6 && \ rm -rf /var/lib/apt/lists/* &&...
- Tue Dec 15, 2020 1:54 pm
- Forum: Path/CAM
- Topic: How avoid G2 and G3 in G-code
- Replies: 9
- Views: 2681
Re: How avoid G2 and G3 in G-code
If you have a raspberry pi sitting around I'd highly recommend https://cnc.js.org/, it's what I use with my 3018.
- Mon Dec 14, 2020 6:56 pm
- Forum: Path/CAM
- Topic: mixing c++ and python memory models.
- Replies: 45
- Views: 8465
Re: mixing c++ and python memory models.
Right now it is: Py::Dict CommandPy::getParameters(void) const { Py::Dict dict; for(std::map<std::string,double>::iterator i = getCommandPtr()->Parameters.begin(); i != getCommandPtr()->Parameters.end(); ++i) { dict.setItem(i->first, Py::Float(i->second)); } return dict; } You should be able to chan...
- Mon Dec 14, 2020 5:41 pm
- Forum: Path/CAM
- Topic: mixing c++ and python memory models.
- Replies: 45
- Views: 8465
Re: mixing c++ and python memory models.
That's just how interop between languages works. The data is represented internally differently, so you have to translate it whenever you switch between c++ and python. The options to fix it are calling those functions from python as little as possible (like you said to save the parameters rather th...
- Mon Dec 14, 2020 5:00 pm
- Forum: Path/CAM
- Topic: mixing c++ and python memory models.
- Replies: 45
- Views: 8465
Re: mixing c++ and python memory models.
Thanks very much for the input and the extra checking. Is the getter and setter for the parameters Pdict property unnecessarily cumbersome, could this be done better? This is one concrete example which was at the heart of the massive post-processor memory hog. Could you advise on that? If CXX is to...
- Mon Dec 14, 2020 3:19 pm
- Forum: Path/CAM
- Topic: mixing c++ and python memory models.
- Replies: 45
- Views: 8465
Re: mixing c++ and python memory models.
wmayer found the bug which was causing huge memory losses but it seems the whole c++/py mix in inherently messy. Maybe some things could be improved if python guys were more aware of the guts of CXX code and how to avoid the pitfalls and limitations ( but that is probably not what python progammers...
- Wed Oct 14, 2020 5:36 pm
- Forum: Path/CAM
- Topic: Scripting Path workbench
- Replies: 21
- Views: 5380
Re: Scripting Path workbench
I haven't created a job with python before. It would be something along the lines of: from PathScripts import PathJob job = PathJob.create("job_name", "model_object") That was giving me an error, but is pretty close to what you would need to do. Maybe someone else that has tried ...
- Tue Sep 22, 2020 1:16 am
- Forum: Path/CAM
- Topic: How to change origin?
- Replies: 3
- Views: 2872
Re: How to change origin?
Here's a good video from sliptonic on setting up your job https://www.youtube.com/watch?v=QjlfL5IQxzI&t=226s . Setting the origin is at around the 4 minute mark.