This is the official source code of FreeCAD
Go to file
Abdullah Tahiri 214169616d Sketch: Bug fix: On delete crash with unsuccesful solving
==========================================================

Fixes the one reported by JMG here (Thanks!!):
http://forum.freecadweb.org/viewtopic.php?f=3&t=11508#p92693

Why?
- The newly introduced redrawing policy requires that the solver geometry matches in number the sketchobject geometry.
- Most (all) problems with updateColor or getGeometry returning a null pointer are related to an out of sync between UI geometry and SketchObject geometry.

General solution:
- In other bugs, a missing "solve()" is the problem, once the solver and sketchobject geometries have the same number, an SketchObject::OnChanged triggers
a VPSketch::draw (via VPSketch::updateData) which updates the UI geometry to match SketchObject geometry and then the problem does not arise.

Particular solution:
- In this bug, the problem is not a missing solve, but the fact that the solving was not succesful and did not synchronize the geometries, however triggering a
draw() on unsuccessful solving, syncronizes the UI geometry with the SketchObject geometry and the crash is gone.
2015-06-25 14:33:22 +02:00
cMake + use .dylib for normal shared libraries under MacOSX 2015-04-17 18:13:51 +02:00
data Arch: Fixed Arch example - fixes #1789 2014-12-31 14:42:22 -02:00
package + update Debian packaging files 2015-04-19 13:42:02 +02:00
src Sketch: Bug fix: On delete crash with unsuccesful solving 2015-06-25 14:33:22 +02:00
.gitattributes + Shared library of Mefisto2F 2014-01-18 00:08:25 +01:00
.gitignore Better PDF generation script 2015-03-21 17:45:08 -03:00
BuildAll.bat + unify DLL export defines to namespace names 2011-10-10 13:44:52 +00:00
BuildRelease.ini + unify DLL export defines to namespace names 2011-10-10 13:44:52 +00:00
BuildRelease.py + unify DLL export defines to namespace names 2011-10-10 13:44:52 +00:00
ChangeLog.txt + update ReadMe and ChangeLog 2014-06-30 13:51:10 +02:00
CMakeLists.txt Add ability to have external orocos-kdl library instead of the suplied 2015-06-24 11:54:31 +02:00
config.h.cmake + unify DLL export defines to namespace names 2011-10-10 13:44:52 +00:00
copying.lib Fix address of FSF in copyright notice 2012-07-05 22:59:12 +02:00
README small fix in README 2015-05-20 06:49:23 +02:00

FreeCAD
=======

FreeCAD is a general purpose feature-based, parametric 3D modeler for 
CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering 
and product design but also fits a wider range of uses in engineering, 
such as architecture or other engineering specialties. It is 100% Open 
Source (LGPL2+ license) and extremely modular, allowing for very 
advanced extension and customization.

FreeCAD is based on OpenCasCade, a powerful geometry kernel, features an 
Open Inventor-compliant 3D scene representation model provided by the 
Coin 3D library, and a broad Python API. The interface is built with Qt. 
FreeCAD runs exactly the same way on Windows, Mac OSX, BSD and Linux 
platforms.

Home page:          http://www.freecadweb.org
Documentation wiki: http://www.freecadweb.org/wiki/
Forum:              http://forum.freecadweb.org/
Bug tracker:        http://www.freecadweb.org/tracker/
Git repository:     http://sourceforge.net/p/free-cad/code/ci/master/tree/

Installing
==========

Precompiled (installable) packages are usually available to you from 
several sources and are described on the FreeCAD download page: 
http://www.freecadweb.org/wiki/index.php?title=Download

Compiling
=========

Compiling FreeCAD requires to install several libraries and their 
development files such as OpenCasCADe, Coin and Qt, listed in the 
pages below. Once this is done, FreeCAD can be simply compiled with 
cMake. On windows, these libraries are bundled and offered by the 
FreeCAD team in a convenience package, on Linux they are usually found 
in your distribution's repositories and on Mac OSX and other platforms 
you will usually need to compile them yourself.

The pages below contain up-to-date build instructions:

For Linux:   http://www.freecadweb.org/wiki/?title=CompileOnUnix
For Windows: http://www.freecadweb.org/wiki/?title=CompileOnWindows
For Mac OSX: http://www.freecadweb.org/wiki/?title=CompileOnMac
For Cygwin:  http://www.freecadweb.org/wiki/?title=CompileOnCygwin
For MinGW:   http://www.freecadweb.org/wiki/?title=CompileOnMinGW

Usage & Getting help
====================

The FreeCAD documentation wiki contains a lot of documentation on 
general FreeCAD usage, python scripting, and development. The following
pages might help you to get started:

Getting started:    http://www.freecadweb.org/wiki/?title=Getting_started
Features list:      http://www.freecadweb.org/wiki/?title=Feature_list
Frequent questions: http://www.freecadweb.org/wiki/?title=FAQ
Workbenches:        http://www.freecadweb.org/wiki/?title=Workbench_Concept
Scripting:          http://www.freecadweb.org/wiki/?title=Power_users_hub
Development:        http://www.freecadweb.org/wiki/?title=Developer_hub

The FreeCAD forum at http://forum.freecadweb.org is also a great place
to find help and solve specific problems that you might encounter when
learning to use FreeCAD.