Monthly Archives: April 2012

Research notes for Single stepping python code for in Qt-Creator for free-cad

Working through single stepping through the freecad in the qt-creator I hit some python scripts that would have been really handy to step into.    I thought I through the question out to the qt-creator  irc if it was possible to … Continue reading

Posted in Uncategorized | Leave a comment

Constraints issues with the polyline Arc

It seems that I’ve isolated issue that’s been causing me the pain in my question for the polyline arc. The issue that I’ve been having relates to arcs which appear to be drawn clockwise but are rendered clockwise by reversing … Continue reading

Posted in Uncategorized | Leave a comment

pressButton and releaseButton for the freeCad Polylinearc

The mousemove arcs and CW CCW seem to be working out ok. Now comes the fun stuff: To see if I can get the Arc to actually draw out properly as a real freecad object in the pressButton and releaseButton  … Continue reading

Posted in Uncategorized | Leave a comment

Working out ccw cw on the polyline-arc for freecad

So… I’m going to need how to figure out whether or not I need to go cw or ccw when drawing a polyline arc. So what I need to know if the point “B” is basically about the Tangent line … Continue reading

Posted in Uncategorized | Leave a comment

Continuing on working on my mouse moves in DrawSketchHandlerLineSet

      Ok… So I thinking I’m approaching a point where the rubber hits the road…. Or  not… So… What I’m attempting to do is to add an arc to the polyline mode. I came up with a sketch … Continue reading

Posted in Uncategorized | Leave a comment

DrawSketchHandlerLineSet walk through

I’ve been trying to get the silly arc going without really understanding how the whole line thing draws out so I thought it be good for me to work it out.    The polyline code migrates back and forth through mousemoves, … Continue reading

Posted in Uncategorized | Leave a comment

Working on the registerPressedKey for freecad polyline

Ok… So I thought I had the  registerPressedKey function working, but for some reason I’m generating a segmentation fault which I don’t understand at the moment ;( So… I need to retrace my steps to see where things when south. … Continue reading

Posted in Uncategorized | Leave a comment

Poking around drawedit.

I’m been poking around the code, and things have been more or less making sense to me until I ran into this draw edit thing… void ViewProviderSketch::drawEdit(const std::vector<Base::Vector2D> &EditCurve) { assert(edit); edit->EditCurveSet->numVertices.setNum(1); edit->EditCurvesCoordinate->point.setNum(EditCurve.size()); SbVec3f *verts = edit->EditCurvesCoordinate->point.startEditing(); int32_t *index = … Continue reading

Posted in Uncategorized | Leave a comment