]> git.scottworley.com Git - nt3d/log
nt3d
11 years agoAdd % of faces to NaN alert.
Scott Worley [Mon, 31 Dec 2012 05:31:11 +0000 (21:31 -0800)]
Add % of faces to NaN alert.

11 years agoRemove degenerate faces
Scott Worley [Sat, 29 Dec 2012 08:08:19 +0000 (00:08 -0800)]
Remove degenerate faces

11 years agoWarn about NaNs in the output model
Scott Worley [Sat, 29 Dec 2012 07:34:08 +0000 (23:34 -0800)]
Warn about NaNs in the output model

11 years agoSphere primitive
Scott Worley [Sat, 29 Dec 2012 07:33:47 +0000 (23:33 -0800)]
Sphere primitive

11 years agoMove per-point translate() into a separate function
Scott Worley [Sat, 29 Dec 2012 07:30:24 +0000 (23:30 -0800)]
Move per-point translate() into a separate function

11 years agoThe thing the Rostock was printing in Make Magazine
Scott Worley [Fri, 28 Dec 2012 08:01:50 +0000 (00:01 -0800)]
The thing the Rostock was printing in Make Magazine

TODO: Make the base flat.

11 years agoA helper function for generating pathnormals
Scott Worley [Tue, 25 Dec 2012 05:44:08 +0000 (21:44 -0800)]
A helper function for generating pathnormals

11 years agoFix a bug in project()
Scott Worley [Tue, 25 Dec 2012 04:53:07 +0000 (20:53 -0800)]
Fix a bug in project()

It was kind of sheer luck that any extrudes worked before this fix.

Also, add rotation to torus_by_extrude, which was an easy way to
reproduce this.

11 years agoUse "this" instead of the global name
Scott Worley [Mon, 24 Dec 2012 07:59:34 +0000 (23:59 -0800)]
Use "this" instead of the global name

11 years agoHelper functions for shapenormals
Scott Worley [Fri, 21 Dec 2012 15:12:59 +0000 (07:12 -0800)]
Helper functions for shapenormals

11 years agoMake extrude's arguments more flexible and powerful
Scott Worley [Fri, 21 Dec 2012 06:29:48 +0000 (22:29 -0800)]
Make extrude's arguments more flexible and powerful

11 years agoFlip the order of shape,path in extrude args
Scott Worley [Fri, 21 Dec 2012 05:40:57 +0000 (21:40 -0800)]
Flip the order of shape,path in extrude args

11 years agoCones.
Scott Worley [Thu, 20 Dec 2012 09:18:52 +0000 (01:18 -0800)]
Cones.

(Cones are the first primitive solid because 3-sided cones are basically
cheap arrows that can be littered all over the place for debugging.)

11 years agoTorus by extrude demo
Scott Worley [Thu, 20 Dec 2012 09:11:52 +0000 (01:11 -0800)]
Torus by extrude demo

11 years agoFactor out rotate_onto()
Scott Worley [Thu, 20 Dec 2012 09:09:02 +0000 (01:09 -0800)]
Factor out rotate_onto()

11 years agoFind the parameters of rot2 *after* taking rot1
Scott Worley [Thu, 20 Dec 2012 08:30:35 +0000 (00:30 -0800)]
Find the parameters of rot2 *after* taking rot1

11 years agoDon't show a stale download link while running
Scott Worley [Wed, 19 Dec 2012 16:10:28 +0000 (08:10 -0800)]
Don't show a stale download link while running

11 years agoPass numeric parameters as numbers
Scott Worley [Wed, 19 Dec 2012 15:08:16 +0000 (07:08 -0800)]
Pass numeric parameters as numbers

11 years agoGeneralize rotate()
Scott Worley [Wed, 19 Dec 2012 14:38:26 +0000 (06:38 -0800)]
Generalize rotate()

1. Rename the old rotate() to rotate_about_origin().
2. Add a general rotate() that can rotate about any point.
3. Add box_by_rotation.html demo.

11 years agoRotate and translate operate on lists of points
Scott Worley [Wed, 19 Dec 2012 13:27:59 +0000 (05:27 -0800)]
Rotate and translate operate on lists of points

Also, change extrude's interface to take 3d points, just with the z
values at zero.

11 years agoExtrusion
Scott Worley [Wed, 19 Dec 2012 04:45:50 +0000 (20:45 -0800)]
Extrusion

11 years agoUse "this" instead of the global name
Scott Worley [Wed, 19 Dec 2012 00:12:02 +0000 (16:12 -0800)]
Use "this" instead of the global name

11 years agoAdd closed_trianglefan
Scott Worley [Tue, 18 Dec 2012 10:10:03 +0000 (02:10 -0800)]
Add closed_trianglefan

11 years agoClosed quadstrip: Munge the input, not the output
Scott Worley [Tue, 18 Dec 2012 10:07:49 +0000 (02:07 -0800)]
Closed quadstrip: Munge the input, not the output

This is cleaner.

11 years agoTriangle fans
Scott Worley [Tue, 18 Dec 2012 09:34:16 +0000 (01:34 -0800)]
Triangle fans

11 years agoQuadstrips
Scott Worley [Tue, 18 Dec 2012 09:14:42 +0000 (01:14 -0800)]
Quadstrips

11 years agoDo something useful on enter in a parameter field.
Scott Worley [Tue, 18 Dec 2012 06:23:27 +0000 (22:23 -0800)]
Do something useful on enter in a parameter field.

Enter in a parameter field now re-generates the model.  Previously, it
reloaded the page.

Note: The "go" button is still a button that calls go(), not a form
submit control.  This is for debugability.  Execution has to make it to
"return false" to prevent submission.  For form submits, if an error
happens anywhere, the form submits and uselessly reloads the page.

So the "go" button works differently (better) than enter in a parameter
field in case of errors.  This is not ideal, but is functional for now.

11 years agoA tiny bit of UI shiny: fade-in download link
Scott Worley [Tue, 18 Dec 2012 06:15:43 +0000 (22:15 -0800)]
A tiny bit of UI shiny: fade-in download link

This helps call attention to it after re-generating the model
with different parameters, letting you know that something changed.

11 years agoMinimal framework and one box demo.
Scott Worley [Tue, 18 Dec 2012 05:42:37 +0000 (21:42 -0800)]
Minimal framework and one box demo.