Author Archives: admin

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

Peeking under the hood of DrawSketchHandlerArc::

I’ve been poking around DrawSketchHandlerArc  (Check around line 700 here) just trying to see how this thing ticks. These notes probably won’t make sense to anyone but me, and probably if I go back to read them later, they won’t … Continue reading

Posted in Uncategorized | Leave a comment

Workin on my mouseMoves…

For some reason I had a Bob Seger sound bouncing around in my head when I wrote that title. Anyway…   Things are not going  flawlessly at the first attempt.. Go figure I need to look at the unaltered code to … Continue reading

Posted in Uncategorized | Leave a comment

Action plan on the polyline-arc

I had an interesting conversations on the irc over the weekend on  this polyline stuff.. Never did make it fishing though, wound up cleaning up the yard and help the daughter capture  butterflies (catch and release) instead. So I need … Continue reading

Posted in Uncategorized | Leave a comment

free-cad polyline stuff.

      I think I honed on the section of code that needs to draw an arc instead of a polyline, but I wanted to figure out how to trap the letter “a” being depressed… Little “A” are you … Continue reading

Posted in Uncategorized | Leave a comment