openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
S
SolveSpace
Settings
|
Report Duplicate
1
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Activity Not Available
Commits
: Listings
Analyzed
about 1 month
ago. based on code collected
about 1 month
ago.
Jul 21, 2025 — Jul 21, 2026
Showing page 72 of 74
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Add angle constraints. I'm doing these differently from SketchFlat, as a constraint on the direction cosine, rather than driving the dot product against a rotated vector to zero. The drawing is the ugly part; to do that for skew lines, I gave up.
Jonathan Westhues
More...
over 18 years ago
Add double-sided extrudes, and user interface for that. Also put the coordinate system (x, y, z normal vectors) in the bottom left corner of the screen at all times, and hide group-created workplanes except when that group is active, and activate that workplane when the group is activated.
Jonathan Westhues
More...
over 18 years ago
If a deletion makes it impossible to define other elements of the sketch (e.g., a line whose length is constrained gets deleted, but the constraint is left behind; or the point that's the origin for a drawing group in plane gets deleted), then deleted the dependencies too.
Jonathan Westhues
More...
over 18 years ago
Fix point-on-circle constraints to work with arcs too, and lock extrudes normal to workplane if a workplane is active when the extrusion is created.
Jonathan Westhues
More...
over 18 years ago
I turned on hardware acceleration for my graphics card, and everything broke; apparently that driver didn't like me continually destroying and recreating the HPGL context, and it also didn't like me drawing zero-area polygons for my edges (which seemed like a good idea, because it let me use glPolygonOffset instead of doing that by hand). So it now all seems to work again, and faster.
Jonathan Westhues
More...
over 18 years ago
Do spherical linear interpolation when we animate onto a workplane.
Jonathan Westhues
More...
over 18 years ago
Replace fudging of coordinates with glPolygonOffset().
Jonathan Westhues
More...
over 18 years ago
Add symmetry constraints without an explicit symmetry plane; these use the horizontal or vertical axes of the active workplane. The equations that we write from these are very fast (of the form u + v = 0, or u - v = 0).
Jonathan Westhues
More...
over 18 years ago
Scale columns of the Jacobian before least squares solving; this lets me reweight the parameters, e.g. to encourage the solver to make changes to the point being dragged.
Jonathan Westhues
More...
over 18 years ago
Add an arc entity. That's not allowed to exist in free space (since we need something to force the points into plane, and the workplane supplies that), but otherwise straightforward. And add diameter and equal radius constraints for the arc.
Jonathan Westhues
More...
over 18 years ago
Get rid of assumptions, which always did cause trouble. Instead, solve the Newton's method iterations in a least squares sense. This is much less likely to result in numerical disaster; a parameter will never make a very large change, unless that really is the only way to satisfy the constraints.
Jonathan Westhues
More...
over 18 years ago
Find a memory corruption! I was getting a pointer into the entity list, and then adding a new entity to that list, and then looking at that pointer again. Not okay; the add operation might have forced a realloc. I have to watch for that.
Jonathan Westhues
More...
over 18 years ago
Add transformed points and normals with a rotation (as well as a translation; or equivalently, rotation about an arbitrary axis). Those will be important for step and repeats, and for imported parts.
Jonathan Westhues
More...
over 18 years ago
Little changes, more pwls in a circle, and make "same orientation" constraints work mod 180 degrees, so that it snaps to however the workplane was drawn (more vertical vs. more horizontal).
Jonathan Westhues
More...
over 18 years ago
Add parallel and same orientation constraints, that work on line segments and normals.
Jonathan Westhues
More...
over 18 years ago
Draw an additional projection line, when showing a point-line projected distance constraint.
Jonathan Westhues
More...
over 18 years ago
Add point-line distance, point-plane distance, and point-on-circle constraints. And generate the constraint equations for entities (e.g., that our unit quaternions have magnitude one). Numerical troubles there, but it sort of works. Also some stuff to draw projection lines with projected constraints, and to auto-insert more constraints as you draw.
Jonathan Westhues
More...
over 18 years ago
Add a diameter constraint, and add a `distance' entity that I can remap when I copy circle entities, in order to make the radius numerical somehow (analogy with the POINT_ and NORMAL_XFRMD) thing.
Jonathan Westhues
More...
over 18 years ago
Add the substitution solver. That speeds things up a bit, and improves the quality of assumptions.
Jonathan Westhues
More...
over 18 years ago
Add a convenience command to draw a rectangle (as four line segments), add the toggle construction command, and color the lines differently depending on what group you're in.
Jonathan Westhues
More...
over 18 years ago
Now we can add new workplanes. So fix all the mistakes that I hadn't previously noticed, because I didn't use to have workplanes with non-zero offsets. And clean up the interface to normals a bit.
Jonathan Westhues
More...
over 18 years ago
Fix some stupid bugs introduced with the new representation of workplanes. And fix up our polygon normals, so that everything gets shaded correctly (and so that later we can generate our STL files with correct normals).
Jonathan Westhues
More...
over 18 years ago
A big change, to add a concept of normals. These are "oriented vectors", represented by unit quaternions. This permits me to add circles, where the normal defines the plane of the circle.
Jonathan Westhues
More...
over 18 years ago
Fix my rotation-matrix-to-quaternion code: it broke when the diagonal elements of the matrix summed to -1. Now it's ugly, but I think that it's correct. And add a command to flip the view to the other side, which is what started my problems. And tweak display of H and V and M for constraints: put them in the constraint plane, so that they're stationary as you rotate around.
Jonathan Westhues
More...
over 18 years ago
Make the extrude command do a bit more; now I generate all the faces of the polyhedron. And shade the faces when I draw them, and fix up our projection matrix so that the depth testing works properly.
Jonathan Westhues
More...
over 18 years ago
Make at-midpoint constraint also work to constrain midpoint of a line segment on a plane. And simplify that code a bit, and improve display.
Jonathan Westhues
More...
over 18 years ago
Don't blow up when the pending point doesn't seem to exist; that happens if we're solving an earlier group than the one that contains the pending point.
Jonathan Westhues
More...
over 18 years ago
Sort the parameters by sensitivity before solving, and always sort the point that's being dragged first, to guarantee that that one gets the max possible degrees of freedom. The sort code (sort a list of integers, then apply the permutations by swaps) was more painful than it should have been.
Jonathan Westhues
More...
over 18 years ago
Add symmetric and at midpoint constraints. The symmetry constraint turned out straightforward, in great part because the planes are workplanes (6 DOF, represented by a unit quaternion and a point), and therefore make it easy to get a vector in the plane, as well as a normal.
Jonathan Westhues
More...
over 18 years ago
A ~10x speedup in the solver. Simplify equations before evaluating or taking partials (constant folding). Also keep a little hash table to mark with params are used in each equation, in order to quickly discard trivial partial derivatives. This is solving a 64x64 system in <20 ms. I suspect this is now much faster than Sketchflat.
Jonathan Westhues
More...
over 18 years ago
←
1
2
…
66
67
68
69
70
71
72
73
74
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree