Skip to content

jkotur/Torrusador

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Torrusador

One semester project on geometry modeling lecture at Warsaw Uniwersity of Technology faculty of Mathematics and Information Science, Speciality CAD/CAM. These project was made in week sprints and we had no idea what exactly would be next. Finally we build simple CAD system in which we ware able to model simple object. On next semester this model was cut on milling cutter. Effect is shown at the end.

week 1

Simple 3D scene with wireframe torus model. Available was only 'drawline' function so all matrix conversions were to be be done manually.

week 2

Not related raycasting project http://github.com/jkotur/ellipsoid.

week 3

Stereoscopy view of all object on scene. Currently only torus, but should work with future objects.

stereoscopy

week 4

  • 3D cursor that can be moved in 3 axes aligned to camera local axes. Showing cursor coordinates on scene.
  • adding/removing/moving points on 3D scene with cursor

week 5

  • adding Bezier curves to scene
  • curves chain are connected with C0 differentiability class
  • curve should be drawn more accurate as observer is getting closer to it

week 6

  • adding Bezier curves chain with C2 class
  • drawing in both Bezier and De Boore basis

bezier

week 7

  • third degree curve that interpolates points with C2 class

week 8

  • bicubic Bezier surfaces
  • surfaces are build with Bezier patches based on 16 points
  • patches are connected with class C0
  • visualisation with lines of constant parameter
  • adaptive mesh drawing

surface

week 9

  • De Boore surfaces with C2 class
  • De Boore pipes also with C2 class
  • file format for saving/loading surfaces and pipes

week 10, 11

  • design model of hammer
  • model should be build with 2 pipes
  • model must have edge with C0 class
  • saving/loading model

hammer

week 12

  • fill triangle holes with Gregory patches
  • patch should match with C1 and G2 class
  • optionally matching with C2 class

gregory_patch

week 13, 14

Trimming bspline surfaces. User can choose two surfaces and trim one with other. Trimming curve near cursor should be found.

  1. find intersection point with conjugate gradient method
  2. find intersection curve with at least Newtons method
  3. find and show surfaces sections

trimming1

trimming2

Effect

effect

About

Wielki projekt na modelowanie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages