diff --git a/apps/dom/html/source/lenses.lisp b/apps/dom/html/source/lenses.lisp index 80b11e73d6717256f287b394ab3ceac7e2b5bde5..c490b5a8375afed0845d7b4f04a9178ff6a875a0 100755 --- a/apps/dom/html/source/lenses.lisp +++ b/apps/dom/html/source/lenses.lisp @@ -335,9 +335,27 @@ (with-cl-who () (:p (:table (:tr (:td (ecase (the style) (:image-figure - (htm (:img :src (if (stringp (the image-file)) - (concatenate 'string "images/" (the image-file)) - (namestring (the image-file))) + (htm (:img :src (let* ((image-file (if (stringp (the image-file)) + (concatenate 'string "images/" (the image-file)) + (namestring (the image-file)))) + + (png-file (when (string-equal (pathname-type image-file) "pdf") + (make-pathname :type "png" :defaults image-file)))) + (when png-file + (uiop:run-program + (list (format nil "~a" *gs-path*) + "-q" + (format nil "-sDEVICE=~a" "png256") + (format nil "-sOutputFile=~a" png-file) + (format nil "-dTextAlphaBits=~a" *gs-text-alpha-bits*) + (format nil "-dGraphicsAlphaBits=~a" *gs-graphics-alpha-bits*) + "-dSAFER" + "-dBATCH" + "-dNOPAUSE" + image-file)) + ;;(uiop:copy-file png-file (merge-pathnames (file-namestring png-file) "~/tmp/images/")) + ) + (namestring (merge-pathnames (file-namestring (or png-file image-file)) "images/"))) :style (format nil "width:~a;height:~a;" (the width) (the height)) :alt (the caption)))) (:boxed-figure (dolist (element (list-elements (the :elements))) diff --git a/apps/dom/latex/source/utilities.lisp b/apps/dom/latex/source/utilities.lisp index 88b949c80546f0a169a08ef3a2b25b1716e40694..91433650a7d451fda5cf36bdc39b5b8326a19963 100755 --- a/apps/dom/latex/source/utilities.lisp +++ b/apps/dom/latex/source/utilities.lisp @@ -28,6 +28,7 @@ +#+nil (defun replace-substring (string old new) (let ((position (search old string))) (if position diff --git a/apps/yadd/source/assembly.lisp b/apps/yadd/source/assembly.lisp index 57434dd7af02652883d15c6ea7b539da7401d6e1..402779b7b6f0be069dd8cfc57d4aef4bcb33f28f 100755 --- a/apps/yadd/source/assembly.lisp +++ b/apps/yadd/source/assembly.lisp @@ -325,6 +325,7 @@ loaderImg: '/static/gwl/tasty-unpix/loader.gif',loaderText: 'Narrowing Down...'} (html (:html (:head (the default-header-content) + ((:link :href "/static/gwl/style/top.css" :rel "stylesheet" :type "text/css")) (:title "The " (:princ (the strings-for-display-verbose)) " Package")) (:body (when *developing?* (html (:p (the (write-development-links))))) diff --git a/apps/yadd/source/define-object-documentation.lisp b/apps/yadd/source/define-object-documentation.lisp index e0c6810890060e1ecbf2a5dce089411b0f6ee1b2..30f800eb7076b5ffbe0fa32845189c0a23469810 100644 --- a/apps/yadd/source/define-object-documentation.lisp +++ b/apps/yadd/source/define-object-documentation.lisp @@ -317,7 +317,8 @@ If you specify :part-symbol-supplied, do not specify :instance-supplied.")) (setq pdf-file (merge-pathnames "example.pdf" (glisp:temporary-folder)) named-pdf-file (merge-pathnames (format nil "example-~(~a~).pdf" (the part-full-symbol)) "~/genworks/gendl/documentation/tutorial/images/")) - (uiop:copy-file pdf-file named-pdf-file)) + (when (probe-file named-pdf-file) (delete-file named-pdf-file)) + (uiop:copy-file pdf-file named-pdf-file)) `((:p (:textbf (:underline "Mixins:")) " " ,(format nil "~{~a~^, ~}" (mapcar #'(lambda (sym) (string sym)) (the mixins-list)))) diff --git a/apps/yadd/source/mixins.lisp b/apps/yadd/source/mixins.lisp index 71816000c4b0d46efb8b08248b092667d78ba27c..af3075fd8ab6b89e76e692c45c3d1e878638ec2a 100755 --- a/apps/yadd/source/mixins.lisp +++ b/apps/yadd/source/mixins.lisp @@ -34,10 +34,12 @@ object. It contains links to default header content of a HTML generated yadd page. This contains a link to the favicon.ico and a link to a default CSS sheet. All these elements can be found in the *gdl-install-dir*/static/gwl/ directories." -default-header-content (html + default-header-content (html ((:link :href "/static/gwl/images/favicon.ico" :type "image/x-icon" :rel "icon")))) + (additional-header-content ((:link :href "/static/gwl/style/top.css" :rel "stylesheet" :type "text/css"))) + ("String of valid HTML. Contains standard jQuery files to include in the header for additional search funcionality. This computed-slot contains javascript files, found in the *gdl-install-dir* and used diff --git a/documentation/tutorial/images/example-angular-dimension.pdf b/documentation/tutorial/images/example-angular-dimension.pdf index 1ac996ae5e990f1871f1fa4d3465d7a4a4a38ee1..1659bb14875df56314cb5cbf83dd0c19862d642e 100644 --- a/documentation/tutorial/images/example-angular-dimension.pdf +++ b/documentation/tutorial/images/example-angular-dimension.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161706) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 2687 +<< /Length 2879 >> stream q @@ -53,12 +53,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -68,7 +68,7 @@ q 0.0 0.502 0.0 RG 0.0 0.0 0.0 rg 297.8272 0.0 m -297.8272 164.4854 164.4854 297.8272 0.0000000 297.8272 c +297.8272 164.4854 164.4854 297.8272 .0000000 297.8272 c S Q q @@ -76,7 +76,7 @@ q 0.0 0.0 1.0 RG 0.0 0.0 0.0 rg 327.61 0.0 m - 327.61 180.934 180.934 327.61 0.0000000 327.61 c + 327.61 180.934 180.934 327.61 .0000000 327.61 c S Q q @@ -90,15 +90,23 @@ Q q 0.5 w 0.0 0.0 1.0 RG - 0.0 0.0 0.0 rg + 0.0 0.0 1.0 rg 327.61 0.0 m 325.1281 9.927574 l 327.61 6.618383 l 330.0919 9.927574 l -0.0000000 327.61 m + 327.61 0.0 l + B +Q +q + 0.5 w + 0.0 0.0 1.0 RG + 0.0 0.0 1.0 rg +.0000000 327.61 m 9.927574 330.0919 l 6.618383 327.61 l 9.927574 325.1281 l +.0000000 327.61 l B Q q @@ -113,8 +121,8 @@ q 0.5 w 0.0 0.0 1.0 RG 0.0 0.0 0.0 rg -0.0000000 297.8272 m -0.0000000 330.5882 l +.0000000 297.8272 m +.0000000 330.5882 l S Q q @@ -131,10 +139,18 @@ q 298.9112 62.78684 l 301.93 59.9589 l 303.7996 63.64879 l +303.0793 53.44106 l + B +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg 153.8774 266.5235 m 163.7159 263.7091 l 159.6091 263.2143 l 161.234 259.4103 l +153.8774 266.5235 l B Q q @@ -163,7 +179,7 @@ Q q 0.5 w 0.0 0.0 1.0 RG - 0.0 0.0 0.0 rg + 0.0 0.0 1.0 rg 162.3158 -165.294 m 159.834 -155.367 l 162.3158 -158.676 l @@ -174,7 +190,7 @@ Q q 0.5 w 0.0 0.0 1.0 RG - 0.0 0.0 0.0 rg + 0.0 0.0 1.0 rg -165.294 162.3158 m -155.367 164.7977 l -158.676 162.3158 l @@ -247,11 +263,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000003182 00000 n +0000003374 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -3281 +3473 %%EOF diff --git a/documentation/tutorial/images/example-angular-dimension.png b/documentation/tutorial/images/example-angular-dimension.png new file mode 100644 index 0000000000000000000000000000000000000000..e846c83aebfc206edf6cc48c10066319d144d73b Binary files /dev/null and b/documentation/tutorial/images/example-angular-dimension.png differ diff --git a/documentation/tutorial/images/example-approximated-curve.pdf b/documentation/tutorial/images/example-approximated-curve.pdf index 08e103262b43f8a8f07106acd167e0dca14d4ca3..20e7bd8f926ce97eaf8fea7a42984db5d89abd7e 100644 --- a/documentation/tutorial/images/example-approximated-curve.pdf +++ b/documentation/tutorial/images/example-approximated-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024546) +/CreationDate (D:20171023161712) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-approximated-curve.png b/documentation/tutorial/images/example-approximated-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..7a7bd04ee023c80a89f4ed0af2547220e692b107 Binary files /dev/null and b/documentation/tutorial/images/example-approximated-curve.png differ diff --git a/documentation/tutorial/images/example-arc-curve.pdf b/documentation/tutorial/images/example-arc-curve.pdf index 7b50be0327e03959bec572b620c59fcdaa0dbd1b..ff252eb1d63b09bc3236fcdb81fb3f92e2b10796 100644 --- a/documentation/tutorial/images/example-arc-curve.pdf +++ b/documentation/tutorial/images/example-arc-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024546) +/CreationDate (D:20171023161713) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-arc-curve.png b/documentation/tutorial/images/example-arc-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..cd4478b3e5410269b265c8c11a6780ab7be5b063 Binary files /dev/null and b/documentation/tutorial/images/example-arc-curve.png differ diff --git a/documentation/tutorial/images/example-arc.pdf b/documentation/tutorial/images/example-arc.pdf index b4e2c2b0675f6120a1951c0ed9c1de517fb911ff..cc8f9133f1042fed2c6d0d83a484e74671c246ac 100644 --- a/documentation/tutorial/images/example-arc.pdf +++ b/documentation/tutorial/images/example-arc.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161706) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 556 +<< /Length 553 >> stream q @@ -52,12 +52,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -92,5 +92,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1036 +1033 %%EOF diff --git a/documentation/tutorial/images/example-arc.png b/documentation/tutorial/images/example-arc.png new file mode 100644 index 0000000000000000000000000000000000000000..3c7029e7d2b5b3f96c088fe54c732b6156864972 Binary files /dev/null and b/documentation/tutorial/images/example-arc.png differ diff --git a/documentation/tutorial/images/example-b-spline-curve.pdf b/documentation/tutorial/images/example-b-spline-curve.pdf index 9af76ca37a44411ea7583af6001742592b730403..d2ed44c967c6520985b3ff90e91a2caef3a6bccf 100644 --- a/documentation/tutorial/images/example-b-spline-curve.pdf +++ b/documentation/tutorial/images/example-b-spline-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024547) +/CreationDate (D:20171023161713) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-b-spline-curve.png b/documentation/tutorial/images/example-b-spline-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..21da4d5ae1f8b5603bab2c73463ef6b1adcaab61 Binary files /dev/null and b/documentation/tutorial/images/example-b-spline-curve.png differ diff --git a/documentation/tutorial/images/example-b-spline-surface.pdf b/documentation/tutorial/images/example-b-spline-surface.pdf index de8a2cd103d7204314942589e605d31f085ee52e..cc81c79e0acf02f53e7d7d072273667e700a41c4 100644 --- a/documentation/tutorial/images/example-b-spline-surface.pdf +++ b/documentation/tutorial/images/example-b-spline-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024547) +/CreationDate (D:20171023161713) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-b-spline-surface.png b/documentation/tutorial/images/example-b-spline-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..280baf0d5c65333aa4495b9b51481ca47c20b477 Binary files /dev/null and b/documentation/tutorial/images/example-b-spline-surface.png differ diff --git a/documentation/tutorial/images/example-base-drawing.pdf b/documentation/tutorial/images/example-base-drawing.pdf index 11850f927f2a12b8e8cdf7f6b598dd6743e2eda9..1eb607b917f9a255b42fc2fc2ce9218dca6162a7 100644 --- a/documentation/tutorial/images/example-base-drawing.pdf +++ b/documentation/tutorial/images/example-base-drawing.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161707) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 2304 +<< /Length 2294 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -70,21 +70,21 @@ q Q Q q - 0.425849 0.0 0.0 0.425849 0.0 0.0 cm + .4258494 0.0 0.0 .4258494 0.0 0.0 cm q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -306.0 -396.0 612.0 792.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w - 1.0 0.11 0.682 RG + 1.0 .1098 .6824 RG 0.0 0.0 0.0 rg -146.426 -80.5919 m 281.0 -5.39206 l @@ -174,5 +174,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -2785 +2775 %%EOF diff --git a/documentation/tutorial/images/example-base-drawing.png b/documentation/tutorial/images/example-base-drawing.png new file mode 100644 index 0000000000000000000000000000000000000000..89377289585e971df9a14dff885b6aa3053cbc5d Binary files /dev/null and b/documentation/tutorial/images/example-base-drawing.png differ diff --git a/documentation/tutorial/images/example-base-view.pdf b/documentation/tutorial/images/example-base-view.pdf index 3cd16479ac67e93f4d571ec7166a0c4f5e2359bf..44e56ffe964e903c9d45ec2f231c57186b53ad8e 100644 --- a/documentation/tutorial/images/example-base-view.pdf +++ b/documentation/tutorial/images/example-base-view.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161707) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 2133 +<< /Length 2287 >> stream q @@ -53,16 +53,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -73,7 +73,7 @@ Q q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -35.3273 cm +1.0 0.0 0.0 1.0 0.0 -35.3273 cm q 0.5 w 0.0 0.0 0.0 RG @@ -118,12 +118,26 @@ q -121.556 116.998 l -131.686 109.4007 l -121.556 101.8034 l +-151.945 109.4007 l + B +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg -151.945 109.4007 m 151.9454 109.4007 l + S +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg 151.9454 109.4007 m 121.5563 101.8034 l 131.686 109.4007 l 121.5563 116.998 l +151.9454 109.4007 l B Q q @@ -205,11 +219,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000002628 00000 n +0000002782 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -2727 +2881 %%EOF diff --git a/documentation/tutorial/images/example-base-view.png b/documentation/tutorial/images/example-base-view.png new file mode 100644 index 0000000000000000000000000000000000000000..7447f75b34c2bb9ae4be9f92e2620e645adb59e9 Binary files /dev/null and b/documentation/tutorial/images/example-base-view.png differ diff --git a/documentation/tutorial/images/example-basic-surface.pdf b/documentation/tutorial/images/example-basic-surface.pdf index 167d4bcf37f70539e59a973029b76ea2471bee51..618c089b790caf155e703fa2c8e09429e4bd5b80 100644 --- a/documentation/tutorial/images/example-basic-surface.pdf +++ b/documentation/tutorial/images/example-basic-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024547) +/CreationDate (D:20171023161714) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-basic-surface.png b/documentation/tutorial/images/example-basic-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..f9e0071c0587068302c01c64e468b61c4ed0484a Binary files /dev/null and b/documentation/tutorial/images/example-basic-surface.png differ diff --git a/documentation/tutorial/images/example-bezier-curve.pdf b/documentation/tutorial/images/example-bezier-curve.pdf index 2a0b84834598b7e0d6e0807acc2bf41a1787b41d..f6f6681697e866ace67a17a0bdfac73bd221b1b0 100644 --- a/documentation/tutorial/images/example-bezier-curve.pdf +++ b/documentation/tutorial/images/example-bezier-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161707) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1416 +<< /Length 1413 >> stream q @@ -52,12 +52,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -162,5 +162,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1897 +1894 %%EOF diff --git a/documentation/tutorial/images/example-bezier-curve.png b/documentation/tutorial/images/example-bezier-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..cd583a70736b9e6cf888a94093353f0b68f21341 Binary files /dev/null and b/documentation/tutorial/images/example-bezier-curve.png differ diff --git a/documentation/tutorial/images/example-blended-solid.pdf b/documentation/tutorial/images/example-blended-solid.pdf index 8b9c25d1bd1f0a94e656a4804abcfc0f27cb19fa..4ec232efdfa209f9b08ee7047c3d1e616e73a253 100644 --- a/documentation/tutorial/images/example-blended-solid.pdf +++ b/documentation/tutorial/images/example-blended-solid.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024547) +/CreationDate (D:20171023161714) >> endobj 5 0 obj @@ -133,10 +133,10 @@ q 134.6661 34.78031 130.3179 32.5833 125.1516 30.85342 c 121.2768 29.55602 116.9419 28.52137 112.5508 27.74951 c 20.60418 124.4611 m -20.60579 129.1324 19.96977 133.9878 18.52988 138.6609 c -16.61004 144.8917 13.26111 150.7985 8.706958 155.4255 c -5.291347 158.8958 1.197801 161.6462 -3.19483 163.4907 c --10.5159 166.565 -18.6677 167.123 -25.9848 165.8328 c +20.60686 132.2466 18.73439 140.5903 14.63431 147.6582 c +12.17426 151.8989 8.912277 155.6804 5.085795 158.6412 c +-0.01618 162.589 -6.12171 165.0779 -12.2955 166.0343 c +-16.9258 166.7516 -21.5945 166.6069 -25.9848 165.8328 c -50.4322 131.8847 m -43.1166 133.1729 -33.9822 133.9793 -24.5096 133.8927 c -18.8261 133.8407 -13.0208 133.4673 -7.59725 132.7852 c @@ -147,25 +147,25 @@ q -130.318 -32.5833 -134.666 -34.7803 -137.378 -37.2048 c -139.412 -39.0232 -140.526 -40.9696 -140.681 -42.8752 c -140.94 -46.0511 -138.535 -49.1137 -134.692 -51.5665 c --134.694 -56.2378 -134.058 -61.0932 -132.618 -65.7663 c --130.698 -71.9971 -127.349 -77.9039 -122.795 -82.5309 c --119.379 -86.0012 -115.286 -88.7516 -110.893 -90.5961 c --103.572 -93.6704 -95.4204 -94.2284 -88.1033 -92.9382 c +-134.695 -59.3519 -132.822 -67.6957 -128.722 -74.7636 c +-126.262 -79.0043 -123.0 -82.7857 -119.174 -85.7466 c +-114.072 -89.6944 -107.966 -92.1833 -101.793 -93.1397 c +-97.1623 -93.857 -92.4936 -93.7123 -88.1033 -92.9382 c -50.4322 -16.8206 m --50.4331 -21.491 -50.0993 -26.6716 -49.3437 -32.0808 c --48.3363 -39.2931 -46.5789 -46.9119 -44.1892 -53.867 c --42.3968 -59.0834 -40.2488 -63.9265 -37.9437 -68.0166 c - -34.102 -74.8335 -29.8244 -79.5589 -25.9848 -82.0093 c +-50.4336 -24.6046 -49.451 -33.9056 -47.2995 -43.0695 c +-46.0086 -48.5679 -44.2969 -54.0169 -42.289 -58.9339 c +-39.6117 -65.4899 -36.4079 -71.1 -33.1682 -75.2126 c +-30.7384 -78.297 -28.2885 -80.539 -25.9848 -82.0093 c 20.60418 -24.2441 m -16.76726 -21.7904 10.61713 -19.3867 2.67534 -17.6535 c --2.08973 -16.6135 -7.4998 -15.815 -13.1186 -15.343 c --20.6104 -14.7137 -28.4732 -14.6651 -35.6544 -15.1076 c --41.0404 -15.4395 -46.0428 -16.0476 -50.4322 -16.8206 c +18.30203 -22.7719 15.2161 -21.3185 11.34646 -20.0194 c +6.186943 -18.2872 -.365852 -16.8293 -7.59725 -15.92 c +-13.0208 -15.238 -18.8261 -14.8645 -24.5096 -14.8125 c +-33.9822 -14.7259 -43.1166 -15.5323 -50.4322 -16.8206 c -88.1033 154.9039 m --92.4936 154.1332 -97.1623 152.6351 -101.793 150.2885 c --107.966 147.1597 -114.072 142.5224 -119.174 136.7793 c - -123.0 132.4721 -126.262 127.5428 -128.722 122.4365 c --132.822 113.9259 -134.695 104.9233 -134.692 97.13875 c +-95.4204 153.6194 -103.572 150.193 -110.893 144.5426 c +-115.286 141.1524 -119.379 136.9616 -122.795 132.2895 c +-127.349 126.06 -130.698 118.9748 -132.618 112.0684 c +-134.058 106.8886 -134.694 101.8095 -134.692 97.13875 c -138.535 99.59152 -140.94 102.6541 -140.681 105.83 c -140.526 107.7356 -139.412 109.682 -137.378 111.5004 c -134.666 113.9249 -130.318 116.1219 -125.152 117.8518 c @@ -175,10 +175,10 @@ q -1.1978 -161.646 -5.29135 -158.896 -8.70696 -155.426 c -13.2611 -150.799 -16.61 -144.892 -18.5299 -138.661 c -19.9698 -133.988 -20.6058 -129.132 -20.6042 -124.461 c --16.7673 -126.915 -10.6171 -129.319 -2.67534 -131.052 c -2.089731 -132.092 7.499795 -132.89 13.11861 -133.362 c -20.61037 -133.992 28.47324 -134.04 35.65445 -133.598 c -41.04036 -133.266 46.04283 -132.658 50.43221 -131.885 c + -18.302 -125.933 -15.2161 -127.387 -11.3465 -128.686 c +-6.18694 -130.418 0.365852 -131.876 7.597252 -132.785 c + 13.0208 -133.467 18.82607 -133.841 24.5096 -133.893 c +33.98216 -133.979 43.11658 -133.173 50.43221 -131.885 c 112.5508 -120.956 m 116.9419 -120.184 121.2768 -119.149 125.1516 -117.852 c 130.3179 -116.122 134.6661 -113.925 137.3783 -111.5 c @@ -189,20 +189,20 @@ q 119.3794 -136.962 115.2859 -141.152 110.8933 -144.543 c 103.5722 -150.193 95.42037 -153.619 88.10334 -154.904 c 112.5508 27.74951 m -112.5516 32.41996 112.2179 37.6005 111.4623 43.00972 c -110.4549 50.222 108.6975 57.84082 106.3077 64.79599 c -104.5154 70.01236 102.3673 74.85544 100.0623 78.94556 c - 96.2206 85.76244 91.94294 90.48781 88.10334 92.9382 c +112.5522 35.53359 111.5696 44.83456 109.4181 53.99848 c +108.1272 59.49683 106.4155 64.94585 104.4075 69.86283 c +101.7303 76.41881 98.52644 82.02897 95.28676 86.14153 c + 92.857 89.22594 90.4071 91.46796 88.10334 92.9382 c 25.98476 82.00925 m -28.28852 80.53902 30.73842 78.297 33.16818 75.21259 c -36.40785 71.10002 39.61172 65.48987 42.28897 58.93389 c - 44.2969 54.0169 46.00863 48.56789 47.29953 43.06954 c -49.45104 33.90562 50.43362 24.60465 50.43221 16.82057 c +29.82436 79.55887 34.10202 74.8335 37.94373 68.01662 c +40.24875 63.9265 42.39683 59.08342 44.18917 53.86704 c +46.57895 46.91187 48.33629 39.29306 49.34373 32.08077 c + 50.0993 26.67156 50.43305 21.49101 50.43221 16.82057 c -88.1033 -92.9382 m --90.4071 -91.468 -92.857 -89.2259 -95.2868 -86.1415 c --98.5264 -82.029 -101.73 -76.4188 -104.408 -69.8628 c --106.415 -64.9458 -108.127 -59.4968 -109.418 -53.9985 c - -111.57 -44.8346 -112.552 -35.5336 -112.551 -27.7495 c +-91.9429 -90.4878 -96.2206 -85.7624 -100.062 -78.9456 c +-102.367 -74.8554 -104.515 -70.0124 -106.308 -64.796 c +-108.698 -57.8408 -110.455 -50.222 -111.462 -43.0097 c +-112.218 -37.6005 -112.552 -32.42 -112.551 -27.7495 c -25.9848 165.8328 m -29.8244 168.2889 -34.102 169.0298 -37.9437 167.1221 c -40.2488 165.9775 -42.3968 163.8794 -44.1892 160.9534 c @@ -224,10 +224,10 @@ q 39.61172 -166.727 36.40785 -168.243 33.16818 -168.216 c 30.73842 -168.195 28.28852 -167.306 25.98476 -165.833 c -25.9848 -82.0093 m --21.5945 -81.2386 -16.9258 -79.7405 -12.2955 -77.3939 c --6.12171 -74.265 -0.01618 -69.6277 5.085795 -63.8847 c -8.912277 -59.5775 12.17426 -54.6482 14.63431 -49.5419 c -18.73439 -41.0312 20.60686 -32.0286 20.60418 -24.2441 c +-18.6677 -80.7248 -10.5159 -77.2983 -3.19483 -71.648 c +1.197801 -68.2578 5.291347 -64.067 8.706958 -59.3949 c +13.26111 -53.1654 16.61004 -46.0802 18.52988 -39.1738 c +19.96977 -33.994 20.60579 -28.9148 20.60418 -24.2441 c S Q Q diff --git a/documentation/tutorial/images/example-blended-solid.png b/documentation/tutorial/images/example-blended-solid.png new file mode 100644 index 0000000000000000000000000000000000000000..fc2c721d121ea73e87634265e360fce47beb5adc Binary files /dev/null and b/documentation/tutorial/images/example-blended-solid.png differ diff --git a/documentation/tutorial/images/example-box-solid.pdf b/documentation/tutorial/images/example-box-solid.pdf index 1e04577d79049384baeaca8c09f509dea9c3eff7..8baece6fa38da460d2183949001c77cc82d54e1d 100644 --- a/documentation/tutorial/images/example-box-solid.pdf +++ b/documentation/tutorial/images/example-box-solid.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161714) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-box-solid.png b/documentation/tutorial/images/example-box-solid.png new file mode 100644 index 0000000000000000000000000000000000000000..fdc2385b5424f3aae2112735886aabd309703143 Binary files /dev/null and b/documentation/tutorial/images/example-box-solid.png differ diff --git a/documentation/tutorial/images/example-box.pdf b/documentation/tutorial/images/example-box.pdf index c2406d9153809c148a979ac4695427d070f8d4e9..1931c906497e1684fcfb26549a976eb4ff0f64d4 100644 --- a/documentation/tutorial/images/example-box.pdf +++ b/documentation/tutorial/images/example-box.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161707) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 962 +<< /Length 957 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w 0.302 0.302 1.0 RG @@ -114,5 +114,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1442 +1437 %%EOF diff --git a/documentation/tutorial/images/example-box.png b/documentation/tutorial/images/example-box.png new file mode 100644 index 0000000000000000000000000000000000000000..4b095eba379f579e341b5c95c60573304532882c Binary files /dev/null and b/documentation/tutorial/images/example-box.png differ diff --git a/documentation/tutorial/images/example-c-cylinder.pdf b/documentation/tutorial/images/example-c-cylinder.pdf index b9a7d5fba1de3b7768256204b6399480f0053b09..99f5b071130b83ff70f22a30b87ad6b7c7a20175 100644 --- a/documentation/tutorial/images/example-c-cylinder.pdf +++ b/documentation/tutorial/images/example-c-cylinder.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161708) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1249 +<< /Length 1245 >> stream q @@ -52,19 +52,19 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -135.574 cm +1.0 0.0 0.0 1.0 0.0 -135.574 cm q 0.5 w -0.918 0.678 0.918 RG +.9176 .6784 .9176 RG 0.0 0.0 0.0 rg -40.1195 25.63366 m -40.1195 296.7812 l @@ -82,9 +82,9 @@ q -84.7889 276.6133 l 76.4548 13.45121 m 54.29741 27.60829 2.105319 33.06256 -40.1195 25.63366 c --82.3443 18.20476 -98.6122 0.705868 -76.4548 -13.4512 c +-82.3443 18.20476 -98.6122 .7058684 -76.4548 -13.4512 c -54.2974 -27.6083 -2.10532 -33.0626 40.1195 -25.6337 c -82.34433 -18.2048 98.6122 -0.70587 76.4548 13.45121 c +82.34433 -18.2048 98.6122 -.705868 76.4548 13.45121 c 76.4548 284.5988 m 54.29741 298.7559 2.105319 304.2102 -40.1195 296.7812 c -82.3443 289.3524 -98.6122 271.8535 -76.4548 257.6964 c @@ -114,5 +114,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1730 +1726 %%EOF diff --git a/documentation/tutorial/images/example-c-cylinder.png b/documentation/tutorial/images/example-c-cylinder.png new file mode 100644 index 0000000000000000000000000000000000000000..0c157767c13a5a16023aa0c4298b57db6539d968 Binary files /dev/null and b/documentation/tutorial/images/example-c-cylinder.png differ diff --git a/documentation/tutorial/images/example-center-line.pdf b/documentation/tutorial/images/example-center-line.pdf index 7c85707c2e0832724a1e31cb7a4a86ad9ba02e9c..307be7e972204bbbfda68364875c6c911c8aafc8 100644 --- a/documentation/tutorial/images/example-center-line.pdf +++ b/documentation/tutorial/images/example-center-line.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135725) +/CreationDate (D:20171023161708) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 9464 +<< /Length 9461 >> stream q @@ -52,12 +52,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -721,5 +721,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -9945 +9942 %%EOF diff --git a/documentation/tutorial/images/example-center-line.png b/documentation/tutorial/images/example-center-line.png new file mode 100644 index 0000000000000000000000000000000000000000..d84aa357203320dc786a900d54e4e946c81b676e Binary files /dev/null and b/documentation/tutorial/images/example-center-line.png differ diff --git a/documentation/tutorial/images/example-circle.pdf b/documentation/tutorial/images/example-circle.pdf index 8f7fea2442eef2132fa4b8f6eec2face4b4eb02f..74f2821e4eede6ed8157fc8494dc2f192a2675fd 100644 --- a/documentation/tutorial/images/example-circle.pdf +++ b/documentation/tutorial/images/example-circle.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161708) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 726 +<< /Length 721 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -95,5 +95,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1206 +1201 %%EOF diff --git a/documentation/tutorial/images/example-circle.png b/documentation/tutorial/images/example-circle.png new file mode 100644 index 0000000000000000000000000000000000000000..cd4478b3e5410269b265c8c11a6780ab7be5b063 Binary files /dev/null and b/documentation/tutorial/images/example-circle.png differ diff --git a/documentation/tutorial/images/example-circular-curve.pdf b/documentation/tutorial/images/example-circular-curve.pdf index a3573085c2922772f7208a8ef1754ad66df1e3a6..e28d73ee2566ce8a5f37e1257768e28ceaa0c206 100644 --- a/documentation/tutorial/images/example-circular-curve.pdf +++ b/documentation/tutorial/images/example-circular-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161715) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-circular-curve.png b/documentation/tutorial/images/example-circular-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..cd4478b3e5410269b265c8c11a6780ab7be5b063 Binary files /dev/null and b/documentation/tutorial/images/example-circular-curve.png differ diff --git a/documentation/tutorial/images/example-circular-surface.pdf b/documentation/tutorial/images/example-circular-surface.pdf index 5fe6331ab74e571311f65954d77cbadf12369857..1ce15e0ab8cb03a7838c2ca33c4c28e6f95634fa 100644 --- a/documentation/tutorial/images/example-circular-surface.pdf +++ b/documentation/tutorial/images/example-circular-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161715) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-circular-surface.png b/documentation/tutorial/images/example-circular-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..96fd42845b165f98a8cd32a361998f0c606f6907 Binary files /dev/null and b/documentation/tutorial/images/example-circular-surface.png differ diff --git a/documentation/tutorial/images/example-compatible-curves.pdf b/documentation/tutorial/images/example-compatible-curves.pdf index 44777e98c97c3782771c12b8613464f12d1a11ab..acdbff350fd3827bf72827fe5e8d867c48e9170e 100644 --- a/documentation/tutorial/images/example-compatible-curves.pdf +++ b/documentation/tutorial/images/example-compatible-curves.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161715) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-compatible-curves.png b/documentation/tutorial/images/example-compatible-curves.png new file mode 100644 index 0000000000000000000000000000000000000000..192390a2ae8e13e8e7c6d06347aaabbbb1b35336 Binary files /dev/null and b/documentation/tutorial/images/example-compatible-curves.png differ diff --git a/documentation/tutorial/images/example-compatible-surfaces.pdf b/documentation/tutorial/images/example-compatible-surfaces.pdf index ae520de8d45a9627f34ce7b68483aeba4aef759a..895217928fd1244dc939500a25516c141ff4fa01 100644 --- a/documentation/tutorial/images/example-compatible-surfaces.pdf +++ b/documentation/tutorial/images/example-compatible-surfaces.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161715) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-compatible-surfaces.png b/documentation/tutorial/images/example-compatible-surfaces.png new file mode 100644 index 0000000000000000000000000000000000000000..99e508be26021a4120cb719ebd080facec551e89 Binary files /dev/null and b/documentation/tutorial/images/example-compatible-surfaces.png differ diff --git a/documentation/tutorial/images/example-composed-curve.pdf b/documentation/tutorial/images/example-composed-curve.pdf index 3aeb8da442ff10bf60f9df79b9ca46fe84c35de6..fbfaa35cd5cb6af542865bed7aeb6c610bd1df7c 100644 --- a/documentation/tutorial/images/example-composed-curve.pdf +++ b/documentation/tutorial/images/example-composed-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161715) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-composed-curve.png b/documentation/tutorial/images/example-composed-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..fba989a4bd9020c95a05ba4c516a68a4bfeb6584 Binary files /dev/null and b/documentation/tutorial/images/example-composed-curve.png differ diff --git a/documentation/tutorial/images/example-cone-solid.pdf b/documentation/tutorial/images/example-cone-solid.pdf index 7c4212fb1629c17d7edf07a783c4d5ee2a92b97f..b6559d0aec33a2f5495bc7013389502d0accd33e 100644 --- a/documentation/tutorial/images/example-cone-solid.pdf +++ b/documentation/tutorial/images/example-cone-solid.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024548) +/CreationDate (D:20171023161716) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-cone-solid.png b/documentation/tutorial/images/example-cone-solid.png new file mode 100644 index 0000000000000000000000000000000000000000..6150efd373b8f2a54c4708ce4776b3bd851eb984 Binary files /dev/null and b/documentation/tutorial/images/example-cone-solid.png differ diff --git a/documentation/tutorial/images/example-cone.pdf b/documentation/tutorial/images/example-cone.pdf index be7e0dba17857367993b587e7751804d40a2f134..7e6a3903b44622bf1477fe37205b58e155794c81 100644 --- a/documentation/tutorial/images/example-cone.pdf +++ b/documentation/tutorial/images/example-cone.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161708) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1856 +<< /Length 1853 >> stream q @@ -52,12 +52,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -78,9 +78,9 @@ q 140.4917 -113.581 l -108.202 -29.3751 m 158.9505 -3.05007 l --116.968 0.691199 m +-116.968 .6911994 m 132.6505 87.14875 l --131.153 0.409517 m +-131.153 .4095174 m 90.09625 86.3037 l -131.153 -29.8308 m 90.09625 -4.41739 l @@ -97,7 +97,7 @@ q 85.85399 -84.9663 57.45265 -9.23461 57.45265 61.80022 c 57.45265 132.835 85.85399 172.2736 120.8888 149.8887 c -120.889 4.455202 m --113.882 -0.02178 -108.202 -15.1681 -108.202 -29.3751 c +-113.882 -.021777 -108.202 -15.1681 -108.202 -29.3751 c -108.202 -43.582 -113.882 -51.4698 -120.889 -46.9928 c -127.896 -42.5158 -133.576 -27.3695 -133.576 -13.1625 c -133.576 1.044466 -127.896 8.93218 -120.889 4.455202 c @@ -130,5 +130,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -2337 +2334 %%EOF diff --git a/documentation/tutorial/images/example-cone.png b/documentation/tutorial/images/example-cone.png new file mode 100644 index 0000000000000000000000000000000000000000..d8a819105efc341f0b9f8d40cbf22d20f01bce94 Binary files /dev/null and b/documentation/tutorial/images/example-cone.png differ diff --git a/documentation/tutorial/images/example-conic-curve.pdf b/documentation/tutorial/images/example-conic-curve.pdf index 4bd482c404b36ec39014954ffd8dea569c0dbf5d..b4aa6e90ad30634736ea31e8253b55dacb974faa 100644 --- a/documentation/tutorial/images/example-conic-curve.pdf +++ b/documentation/tutorial/images/example-conic-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024549) +/CreationDate (D:20171023161716) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-conic-curve.png b/documentation/tutorial/images/example-conic-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..6aecf523a22d50c93fe6d2150f946915ec018825 Binary files /dev/null and b/documentation/tutorial/images/example-conic-curve.png differ diff --git a/documentation/tutorial/images/example-curve.pdf b/documentation/tutorial/images/example-curve.pdf index c480595c2b1371eaf8f8eab68fc5d21738f57d4f..3b8f257347984d455a3f29e9de8903c76260c50c 100644 --- a/documentation/tutorial/images/example-curve.pdf +++ b/documentation/tutorial/images/example-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024549) +/CreationDate (D:20171023161716) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-curve.png b/documentation/tutorial/images/example-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..2ddfbef190a3a4753e9bb28a488e5bf7cd88abd5 Binary files /dev/null and b/documentation/tutorial/images/example-curve.png differ diff --git a/documentation/tutorial/images/example-cylinder-solid.pdf b/documentation/tutorial/images/example-cylinder-solid.pdf index 074b62da2c25a38e9362ec8c659247f4dda2fe06..44229d0ade09564961d352ed978afe7dc80df3e8 100644 --- a/documentation/tutorial/images/example-cylinder-solid.pdf +++ b/documentation/tutorial/images/example-cylinder-solid.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024549) +/CreationDate (D:20171023161716) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-cylinder-solid.png b/documentation/tutorial/images/example-cylinder-solid.png new file mode 100644 index 0000000000000000000000000000000000000000..f9fa9ef39dd11a800a640d0abe63f2745cd5c407 Binary files /dev/null and b/documentation/tutorial/images/example-cylinder-solid.png differ diff --git a/documentation/tutorial/images/example-cylinder.pdf b/documentation/tutorial/images/example-cylinder.pdf index 149bddce23c0b3fbbb14e89521718de4fd31c5b6..7a811aef57ec5af8a88880f9477b3af8aca40a16 100644 --- a/documentation/tutorial/images/example-cylinder.pdf +++ b/documentation/tutorial/images/example-cylinder.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161708) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1970 +<< /Length 1965 >> stream q @@ -52,19 +52,19 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w - 1.0 0.11 0.682 RG + 1.0 .1098 .6824 RG 0.0 0.0 0.0 rg -86.1327 -47.407 m 165.2941 -3.1718 l @@ -150,5 +150,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -2451 +2446 %%EOF diff --git a/documentation/tutorial/images/example-cylinder.png b/documentation/tutorial/images/example-cylinder.png new file mode 100644 index 0000000000000000000000000000000000000000..b28733e4d4aa8782e6f45c1a2e56bdb92ebd739a Binary files /dev/null and b/documentation/tutorial/images/example-cylinder.png differ diff --git a/documentation/tutorial/images/example-decomposed-curves.pdf b/documentation/tutorial/images/example-decomposed-curves.pdf index 325183a9b007dff0d5922d417c6d2861802266d2..506a76e6e9556800c562c3ca2ec5c1d53b4155b7 100644 --- a/documentation/tutorial/images/example-decomposed-curves.pdf +++ b/documentation/tutorial/images/example-decomposed-curves.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024549) +/CreationDate (D:20171023161717) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-decomposed-curves.png b/documentation/tutorial/images/example-decomposed-curves.png new file mode 100644 index 0000000000000000000000000000000000000000..6574f759dacf2a3407fdc5de6af89982be01ca20 Binary files /dev/null and b/documentation/tutorial/images/example-decomposed-curves.png differ diff --git a/documentation/tutorial/images/example-dropped-curve.pdf b/documentation/tutorial/images/example-dropped-curve.pdf index 66a9484be58b9db3124151c5e5ff06afd6e9ef40..d34eb3a76653d110a5bbc1eb7e7538f2b9bc9abf 100644 --- a/documentation/tutorial/images/example-dropped-curve.pdf +++ b/documentation/tutorial/images/example-dropped-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024549) +/CreationDate (D:20171023161717) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-dropped-curve.png b/documentation/tutorial/images/example-dropped-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..bec3d02f8978cea855af2a7ff7965562005f0950 Binary files /dev/null and b/documentation/tutorial/images/example-dropped-curve.png differ diff --git a/documentation/tutorial/images/example-dual-blend-surface.pdf b/documentation/tutorial/images/example-dual-blend-surface.pdf index c36d0a094a704a1135eff0d0b2769f28be6ce85b..74a7788fa2086bbb37244a44c494b20623957b03 100644 --- a/documentation/tutorial/images/example-dual-blend-surface.pdf +++ b/documentation/tutorial/images/example-dual-blend-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024550) +/CreationDate (D:20171023161718) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-dual-blend-surface.png b/documentation/tutorial/images/example-dual-blend-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..ff0dc87d7c24696823274ba21aa53588fce9356b Binary files /dev/null and b/documentation/tutorial/images/example-dual-blend-surface.png differ diff --git a/documentation/tutorial/images/example-edge-blend-surface.pdf b/documentation/tutorial/images/example-edge-blend-surface.pdf index 4967c8fb93a740b7495b398fdeea1b4953b9ead2..dd0fa56f21404c088ff484cf2660f002f957d25e 100644 --- a/documentation/tutorial/images/example-edge-blend-surface.pdf +++ b/documentation/tutorial/images/example-edge-blend-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024550) +/CreationDate (D:20171023161718) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-edge-blend-surface.png b/documentation/tutorial/images/example-edge-blend-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..3941d7fb7a8540de6aaa9cba2b8d4b39bf94c905 Binary files /dev/null and b/documentation/tutorial/images/example-edge-blend-surface.png differ diff --git a/documentation/tutorial/images/example-ellipse.pdf b/documentation/tutorial/images/example-ellipse.pdf index e2331a1e2bd4f1216a8a67c5d83d6d5c850d1b8d..d7160bc8ac114bb0a0836435b5a1a4b24f39f2c7 100644 --- a/documentation/tutorial/images/example-ellipse.pdf +++ b/documentation/tutorial/images/example-ellipse.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161709) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 633 +<< /Length 629 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -51.0798 cm +1.0 0.0 0.0 1.0 0.0 -51.0798 cm q 0.5 w 0.0 0.0 0.0 RG @@ -94,5 +94,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1113 +1109 %%EOF diff --git a/documentation/tutorial/images/example-ellipse.png b/documentation/tutorial/images/example-ellipse.png new file mode 100644 index 0000000000000000000000000000000000000000..639c2a0c760741d2e5207ecd1b07a64ca82c8f26 Binary files /dev/null and b/documentation/tutorial/images/example-ellipse.png differ diff --git a/documentation/tutorial/images/example-elliptical-curve.pdf b/documentation/tutorial/images/example-elliptical-curve.pdf index c7a798df3673507d952c6bf4079bfd97c48ae9da..7c33f0e4e716ed4b733a09f93057e278d9efec4c 100644 --- a/documentation/tutorial/images/example-elliptical-curve.pdf +++ b/documentation/tutorial/images/example-elliptical-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024550) +/CreationDate (D:20171023161718) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-elliptical-curve.png b/documentation/tutorial/images/example-elliptical-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..8f878fe9c07e33ab92f8df0c5e94147bcd9c09d2 Binary files /dev/null and b/documentation/tutorial/images/example-elliptical-curve.png differ diff --git a/documentation/tutorial/images/example-extended-curve.pdf b/documentation/tutorial/images/example-extended-curve.pdf index f57717515d4e7e3697511a048ddc7694bef1b0cb..bc9ea8a7b013d94f150590430f1be56c783611ea 100644 --- a/documentation/tutorial/images/example-extended-curve.pdf +++ b/documentation/tutorial/images/example-extended-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024550) +/CreationDate (D:20171023161719) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-extended-curve.png b/documentation/tutorial/images/example-extended-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..47903e0375a1656785dee85a409d56f57e99ccb6 Binary files /dev/null and b/documentation/tutorial/images/example-extended-curve.png differ diff --git a/documentation/tutorial/images/example-extended-surface.pdf b/documentation/tutorial/images/example-extended-surface.pdf index 41c3ef33db2a605146048639209a01864fa27110..877f537d4a14de7adf3b6f92494c3d931b9bc52c 100644 --- a/documentation/tutorial/images/example-extended-surface.pdf +++ b/documentation/tutorial/images/example-extended-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024551) +/CreationDate (D:20171023161719) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-extended-surface.png b/documentation/tutorial/images/example-extended-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..97c4d8305624f322885f63724d9d10439a58e5b1 Binary files /dev/null and b/documentation/tutorial/images/example-extended-surface.png differ diff --git a/documentation/tutorial/images/example-fitted-curve.pdf b/documentation/tutorial/images/example-fitted-curve.pdf index f653de404d0ba147038332ae83922da9efa769eb..37089dde6cac1ec6136e54bf0a189c4a29604b26 100644 --- a/documentation/tutorial/images/example-fitted-curve.pdf +++ b/documentation/tutorial/images/example-fitted-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024551) +/CreationDate (D:20171023161719) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-fitted-curve.png b/documentation/tutorial/images/example-fitted-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..204492e9d7165966242160544bcc27818b79444c Binary files /dev/null and b/documentation/tutorial/images/example-fitted-curve.png differ diff --git a/documentation/tutorial/images/example-fitted-surface.pdf b/documentation/tutorial/images/example-fitted-surface.pdf index 0e4516306eff52416f6c611dbd5bb0cbd64ec7d9..33b00114a21236ef3580442dd44a2959aeed5d06 100644 --- a/documentation/tutorial/images/example-fitted-surface.pdf +++ b/documentation/tutorial/images/example-fitted-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024551) +/CreationDate (D:20171023161720) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-fitted-surface.png b/documentation/tutorial/images/example-fitted-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..42f0b4acdd9e791f477886d2732ef1e374180999 Binary files /dev/null and b/documentation/tutorial/images/example-fitted-surface.png differ diff --git a/documentation/tutorial/images/example-general-dual-blend-surface.pdf b/documentation/tutorial/images/example-general-dual-blend-surface.pdf index a75cbfa1070afcd92373acb108e3b9a0548382ab..15d0195bf737bceafd7a1c9006431510fa18f3e8 100644 --- a/documentation/tutorial/images/example-general-dual-blend-surface.pdf +++ b/documentation/tutorial/images/example-general-dual-blend-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024551) +/CreationDate (D:20171023161720) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-general-dual-blend-surface.png b/documentation/tutorial/images/example-general-dual-blend-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..4ff514ec7912bc3a5b029b9e8dd80232b21c3716 Binary files /dev/null and b/documentation/tutorial/images/example-general-dual-blend-surface.png differ diff --git a/documentation/tutorial/images/example-general-note.pdf b/documentation/tutorial/images/example-general-note.pdf index 9cd8db9eea265d1790c29cae59a58b014c33eaf0..925a575cdcfa601e5d40ad05aec63ce06246b000 100644 --- a/documentation/tutorial/images/example-general-note.pdf +++ b/documentation/tutorial/images/example-general-note.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161709) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 5176 +<< /Length 5173 >> stream q @@ -53,12 +53,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -399,11 +399,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000005671 00000 n +0000005668 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -5768 +5765 %%EOF diff --git a/documentation/tutorial/images/example-general-note.png b/documentation/tutorial/images/example-general-note.png new file mode 100644 index 0000000000000000000000000000000000000000..059e04235ffc0aad8149a985636f3ec126aee82d Binary files /dev/null and b/documentation/tutorial/images/example-general-note.png differ diff --git a/documentation/tutorial/images/example-global-filleted-polygon-projection.pdf b/documentation/tutorial/images/example-global-filleted-polygon-projection.pdf index 4426277fd4522de0b50cc8781c9d6bd4b19767c3..cdc0d5781e3e841c5c9600d43b3ca0056e8f8da9 100644 --- a/documentation/tutorial/images/example-global-filleted-polygon-projection.pdf +++ b/documentation/tutorial/images/example-global-filleted-polygon-projection.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161709) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 2464 +<< /Length 2461 >> stream q @@ -52,19 +52,19 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 -115.673 104.1146 cm q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 59.41587 -6.20918 m 143.4426 -14.9903 l @@ -164,5 +164,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -2945 +2942 %%EOF diff --git a/documentation/tutorial/images/example-global-filleted-polygon-projection.png b/documentation/tutorial/images/example-global-filleted-polygon-projection.png new file mode 100644 index 0000000000000000000000000000000000000000..f2d337bd10dd7e83d3ad93fc356090bf7c048262 Binary files /dev/null and b/documentation/tutorial/images/example-global-filleted-polygon-projection.png differ diff --git a/documentation/tutorial/images/example-global-filleted-polyline-curves.pdf b/documentation/tutorial/images/example-global-filleted-polyline-curves.pdf index f264c7cdddb036e769d947ffddb33842cca53bdd..63bce9f9afb4766571eeb94cba0b29107536d304 100644 --- a/documentation/tutorial/images/example-global-filleted-polyline-curves.pdf +++ b/documentation/tutorial/images/example-global-filleted-polyline-curves.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024551) +/CreationDate (D:20171023161721) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-global-filleted-polyline-curves.png b/documentation/tutorial/images/example-global-filleted-polyline-curves.png new file mode 100644 index 0000000000000000000000000000000000000000..35be1a145847e350ea1da8ebc8ea4106bf27e73a Binary files /dev/null and b/documentation/tutorial/images/example-global-filleted-polyline-curves.png differ diff --git a/documentation/tutorial/images/example-global-filleted-polyline.pdf b/documentation/tutorial/images/example-global-filleted-polyline.pdf index 372e60d295ff0b6c77af30bbc72f67686985c3ba..b84bb5eba08c35f74761e3ec4d13bdefa83a1ad1 100644 --- a/documentation/tutorial/images/example-global-filleted-polyline.pdf +++ b/documentation/tutorial/images/example-global-filleted-polyline.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161709) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1014 +<< /Length 1009 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -184.132 -0.0 cm +1.0 0.0 0.0 1.0 -184.132 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -78,7 +78,7 @@ q 109.7934 -90.9558 l 97.7319 -90.9558 86.16442 -86.1644 77.63566 -77.6357 c 32.15774 -32.1577 l -23.62898 -23.629 18.83757 -12.0615 18.83757 -0.000000 c +23.62898 -23.629 18.83757 -12.0615 18.83757 -.000000 c 18.83757 12.06149 23.62898 23.62898 32.15774 32.15774 c S Q @@ -104,5 +104,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1495 +1490 %%EOF diff --git a/documentation/tutorial/images/example-global-filleted-polyline.png b/documentation/tutorial/images/example-global-filleted-polyline.png new file mode 100644 index 0000000000000000000000000000000000000000..a11d4b6bb2efa8729922939a33afecaaa6681cb8 Binary files /dev/null and b/documentation/tutorial/images/example-global-filleted-polyline.png differ diff --git a/documentation/tutorial/images/example-global-polygon-projection.pdf b/documentation/tutorial/images/example-global-polygon-projection.pdf index 4796075125f9453cdbd875b5df570ac66c4a78a1..36c2d90ed7ddc63a3ad5e77da66d4922b48a0dcd 100644 --- a/documentation/tutorial/images/example-global-polygon-projection.pdf +++ b/documentation/tutorial/images/example-global-polygon-projection.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161709) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1200 +<< /Length 1197 >> stream q @@ -52,19 +52,19 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 -113.773 101.5285 cm q 0.5 w -0.812 0.71 0.231 RG +.8118 .7098 .2314 RG 0.0 0.0 0.0 rg 0.0 0.0 m 165.2941 -17.2739 l @@ -126,5 +126,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1681 +1678 %%EOF diff --git a/documentation/tutorial/images/example-global-polygon-projection.png b/documentation/tutorial/images/example-global-polygon-projection.png new file mode 100644 index 0000000000000000000000000000000000000000..3f751c89c74ecbf3c2b80cabcef4db5bd0d2500c Binary files /dev/null and b/documentation/tutorial/images/example-global-polygon-projection.png differ diff --git a/documentation/tutorial/images/example-global-polyline.pdf b/documentation/tutorial/images/example-global-polyline.pdf index 711c4116246409db6babc8342d23ff96567f5b86..9010f46c11cc6aa3ca78eb4881d85546ad18e8e8 100644 --- a/documentation/tutorial/images/example-global-polyline.pdf +++ b/documentation/tutorial/images/example-global-polyline.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135726) +/CreationDate (D:20171023161710) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 621 +<< /Length 617 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -165.294 -0.0 cm +1.0 0.0 0.0 1.0 -165.294 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -97,5 +97,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1101 +1097 %%EOF diff --git a/documentation/tutorial/images/example-global-polyline.png b/documentation/tutorial/images/example-global-polyline.png new file mode 100644 index 0000000000000000000000000000000000000000..47bc89f0331997a910d4876e552de5d5c6f431ce Binary files /dev/null and b/documentation/tutorial/images/example-global-polyline.png differ diff --git a/documentation/tutorial/images/example-horizontal-dimension.pdf b/documentation/tutorial/images/example-horizontal-dimension.pdf index 58182d2d0bcb875e45aeffb1941ba9389f23c51d..9eb463d0fd56c4485081fba16b1e32e604db3f08 100644 --- a/documentation/tutorial/images/example-horizontal-dimension.pdf +++ b/documentation/tutorial/images/example-horizontal-dimension.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161710) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 1989 +<< /Length 2145 >> stream q @@ -53,16 +53,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -17.4948 cm +1.0 0.0 0.0 1.0 0.0 -17.4948 cm q 0.5 w 0.0 0.0 0.0 RG @@ -107,12 +107,26 @@ q -158.483 126.3373 l -160.754 124.6346 l -158.483 122.932 l +-165.294 124.6346 l + B +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg -165.294 124.6346 m 165.2941 124.6346 l + S +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg 165.2941 124.6346 m 158.4835 122.932 l 160.7537 124.6346 l 158.4835 126.3373 l +165.2941 124.6346 l B Q q @@ -193,11 +207,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000002484 00000 n +0000002640 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -2583 +2739 %%EOF diff --git a/documentation/tutorial/images/example-horizontal-dimension.png b/documentation/tutorial/images/example-horizontal-dimension.png new file mode 100644 index 0000000000000000000000000000000000000000..6b1a1cd293f742a378b45848ea552b400032cea0 Binary files /dev/null and b/documentation/tutorial/images/example-horizontal-dimension.png differ diff --git a/documentation/tutorial/images/example-iso-curve.pdf b/documentation/tutorial/images/example-iso-curve.pdf index 8ce35350900e9f14e9f292e9e62000eed2a6e592..306365ac1276af00562f47911d50f57593b84933 100644 --- a/documentation/tutorial/images/example-iso-curve.pdf +++ b/documentation/tutorial/images/example-iso-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024552) +/CreationDate (D:20171023161721) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-iso-curve.png b/documentation/tutorial/images/example-iso-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..6a1eff84fdb4d0a8bb83be4e0ca67589506e245a Binary files /dev/null and b/documentation/tutorial/images/example-iso-curve.png differ diff --git a/documentation/tutorial/images/example-joined-surfaces.pdf b/documentation/tutorial/images/example-joined-surfaces.pdf index 5b8ef930e0592ff2a480f7a5fbc6886cea22008d..db68a4e1ac10d2b2d588bfae60ee85c294d72beb 100644 --- a/documentation/tutorial/images/example-joined-surfaces.pdf +++ b/documentation/tutorial/images/example-joined-surfaces.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024552) +/CreationDate (D:20171023161721) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-joined-surfaces.png b/documentation/tutorial/images/example-joined-surfaces.png new file mode 100644 index 0000000000000000000000000000000000000000..f420522437f59c47e5c75102efecef5dd4ddaeec Binary files /dev/null and b/documentation/tutorial/images/example-joined-surfaces.png differ diff --git a/documentation/tutorial/images/example-label.pdf b/documentation/tutorial/images/example-label.pdf index fdaa740f0e2c44fde860753707c0524d0f966663..34f97dd5284ca073670bd1721c23bf4d8f3996d8 100644 --- a/documentation/tutorial/images/example-label.pdf +++ b/documentation/tutorial/images/example-label.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161710) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 1574 +<< /Length 1651 >> stream q @@ -53,12 +53,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -107,10 +107,17 @@ q 116.0952 79.79209 l 115.2433 73.82885 l 121.2066 74.68074 l +108.4282 67.01371 l + B +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg 108.4282 67.01371 m 130.1138 88.69935 l 139.4077 88.69935 l - B + S Q q 0.5 w @@ -163,11 +170,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000002069 00000 n +0000002146 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -2168 +2245 %%EOF diff --git a/documentation/tutorial/images/example-label.png b/documentation/tutorial/images/example-label.png new file mode 100644 index 0000000000000000000000000000000000000000..65739972105dc56af0265069bc0be2d56cb36c5e Binary files /dev/null and b/documentation/tutorial/images/example-label.png differ diff --git a/documentation/tutorial/images/example-line.pdf b/documentation/tutorial/images/example-line.pdf index 3226002dd5360f1e59349d3f4ea9c6796836da2d..eed0e3655c09b13cfdd7e132be32948414082057 100644 --- a/documentation/tutorial/images/example-line.pdf +++ b/documentation/tutorial/images/example-line.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161710) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 522 +<< /Length 517 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -92,5 +92,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1002 +997 %%EOF diff --git a/documentation/tutorial/images/example-line.png b/documentation/tutorial/images/example-line.png new file mode 100644 index 0000000000000000000000000000000000000000..564deff7a4de4eb8d2f5bbe5ec773eff51fcb0c6 Binary files /dev/null and b/documentation/tutorial/images/example-line.png differ diff --git a/documentation/tutorial/images/example-linear-curve.pdf b/documentation/tutorial/images/example-linear-curve.pdf index 78b3ff24685e564a56096a5d0053382db16c877b..6498054fb2bbf069a4c94db7415b7392d94aadc6 100644 --- a/documentation/tutorial/images/example-linear-curve.pdf +++ b/documentation/tutorial/images/example-linear-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024552) +/CreationDate (D:20171023161721) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-linear-curve.png b/documentation/tutorial/images/example-linear-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..564deff7a4de4eb8d2f5bbe5ec773eff51fcb0c6 Binary files /dev/null and b/documentation/tutorial/images/example-linear-curve.png differ diff --git a/documentation/tutorial/images/example-lofted-surface.pdf b/documentation/tutorial/images/example-lofted-surface.pdf index 3e3cd3412e6bf6f447c9ec5ea2abf70e42d9aa5e..e922863774685d947f441f7bebb86998f907ea79 100644 --- a/documentation/tutorial/images/example-lofted-surface.pdf +++ b/documentation/tutorial/images/example-lofted-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024552) +/CreationDate (D:20171023161721) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-lofted-surface.png b/documentation/tutorial/images/example-lofted-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..dfca9513adf795b91cfd2e2c6c840bfca0c5616d Binary files /dev/null and b/documentation/tutorial/images/example-lofted-surface.png differ diff --git a/documentation/tutorial/images/example-parallel-dimension.pdf b/documentation/tutorial/images/example-parallel-dimension.pdf index 53844029b5528c433fd808c1d4df9a8917b9d0d9..4fb3e49cb9e3cd2f5f1c7a6dd35a786ca0c3b1f3 100644 --- a/documentation/tutorial/images/example-parallel-dimension.pdf +++ b/documentation/tutorial/images/example-parallel-dimension.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161710) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 1987 +<< /Length 2144 >> stream q @@ -53,12 +53,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -107,12 +107,26 @@ q -139.772 -108.786 l -141.259 -112.576 l -137.204 -112.942 l + -146.8 -116.001 l + B +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg -146.8 -116.001 m 169.4039 79.42797 l + S +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg 169.4039 79.42797 m 162.3762 72.21273 l 163.8625 76.00315 l 159.8076 76.36875 l +169.4039 79.42797 l B Q q @@ -193,11 +207,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000002482 00000 n +0000002639 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -2581 +2738 %%EOF diff --git a/documentation/tutorial/images/example-parallel-dimension.png b/documentation/tutorial/images/example-parallel-dimension.png new file mode 100644 index 0000000000000000000000000000000000000000..2429a88eeabffb5cd34f7d73dd868dfb378d70d0 Binary files /dev/null and b/documentation/tutorial/images/example-parallel-dimension.png differ diff --git a/documentation/tutorial/images/example-pie-chart.pdf b/documentation/tutorial/images/example-pie-chart.pdf index 19c8a0128642b8b785f3060a78b4bcb81a4faa7a..3d21876d04bbc538748a96750bcf479595fc4cdb 100644 --- a/documentation/tutorial/images/example-pie-chart.pdf +++ b/documentation/tutorial/images/example-pie-chart.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161710) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1358 +<< /Length 1353 >> stream q @@ -52,16 +52,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -57.6157 -0.0 cm +1.0 0.0 0.0 1.0 -57.6157 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -109,7 +109,7 @@ Q -90.8901 102.4083 l -143.305 85.3778 -174.399 31.51991 -162.941 -22.3876 c -151.483 -76.2951 -101.17 -112.849 -46.3602 -107.089 c -8.449738 -101.328 50.06279 -55.1118 50.06279 -0.000000 c +8.449738 -101.328 50.06279 -55.1118 50.06279 -.000000 c -57.6157 0.0 l B Q @@ -133,5 +133,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1839 +1834 %%EOF diff --git a/documentation/tutorial/images/example-pie-chart.png b/documentation/tutorial/images/example-pie-chart.png new file mode 100644 index 0000000000000000000000000000000000000000..d904d72d14d08b7b06546ed0d667bbc5588fe39d Binary files /dev/null and b/documentation/tutorial/images/example-pie-chart.png differ diff --git a/documentation/tutorial/images/example-planar-offset-curve.pdf b/documentation/tutorial/images/example-planar-offset-curve.pdf index 5c222d69f9b66d11fdbae7222bfab500dde7998d..6e9317f6ecbb8e2991a8438c7d2fa4f2f4bb5b2b 100644 --- a/documentation/tutorial/images/example-planar-offset-curve.pdf +++ b/documentation/tutorial/images/example-planar-offset-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024552) +/CreationDate (D:20171023161722) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-planar-offset-curve.png b/documentation/tutorial/images/example-planar-offset-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..2324dabc5be20c1073311d20bf876d2147bc24cd Binary files /dev/null and b/documentation/tutorial/images/example-planar-offset-curve.png differ diff --git a/documentation/tutorial/images/example-planar-section-curve.pdf b/documentation/tutorial/images/example-planar-section-curve.pdf index 73e714deb1e9dcb203738503d39b39e210ef49f3..088a3051752490484bcbfaaaa61546d25af33e11 100644 --- a/documentation/tutorial/images/example-planar-section-curve.pdf +++ b/documentation/tutorial/images/example-planar-section-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024552) +/CreationDate (D:20171023161722) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-planar-section-curve.png b/documentation/tutorial/images/example-planar-section-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..7e8b030d8a71d801244a4db4538bd72098e32328 Binary files /dev/null and b/documentation/tutorial/images/example-planar-section-curve.png differ diff --git a/documentation/tutorial/images/example-planar-section-curves.pdf b/documentation/tutorial/images/example-planar-section-curves.pdf index 4fc9718019e3e01533a9c242b17bc3ecad5b2e63..eb3963130d74627affe2aab7c033ef789050f988 100644 --- a/documentation/tutorial/images/example-planar-section-curves.pdf +++ b/documentation/tutorial/images/example-planar-section-curves.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024553) +/CreationDate (D:20171023161722) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-planar-section-curves.png b/documentation/tutorial/images/example-planar-section-curves.png new file mode 100644 index 0000000000000000000000000000000000000000..efc7920f0ae713e4b769bb8e9015ea0cd991cea1 Binary files /dev/null and b/documentation/tutorial/images/example-planar-section-curves.png differ diff --git a/documentation/tutorial/images/example-planar-surface.pdf b/documentation/tutorial/images/example-planar-surface.pdf index 50f21d0ca1c0ddf75f690895790d793cb47c49a4..dddd8c990d0302c189ff2fdc002f980baa372f5f 100644 --- a/documentation/tutorial/images/example-planar-surface.pdf +++ b/documentation/tutorial/images/example-planar-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024553) +/CreationDate (D:20171023161722) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-planar-surface.png b/documentation/tutorial/images/example-planar-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..d8f3a95ffde5c37f36355fba441308fed08e02b8 Binary files /dev/null and b/documentation/tutorial/images/example-planar-surface.png differ diff --git a/documentation/tutorial/images/example-point.pdf b/documentation/tutorial/images/example-point.pdf index eaa7e992d0b24c7d3cffb46dae0fabd7440c24a2..7b26491eecf00bf3ebd698dfd83db6ac8556a634 100644 --- a/documentation/tutorial/images/example-point.pdf +++ b/documentation/tutorial/images/example-point.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161711) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 1356 +<< /Length 1353 >> stream q @@ -52,12 +52,12 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q @@ -156,5 +156,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -1837 +1834 %%EOF diff --git a/documentation/tutorial/images/example-point.png b/documentation/tutorial/images/example-point.png new file mode 100644 index 0000000000000000000000000000000000000000..fad000d55160d1ee9e5fab53894ab2075232e8dd Binary files /dev/null and b/documentation/tutorial/images/example-point.png differ diff --git a/documentation/tutorial/images/example-projected-curve.pdf b/documentation/tutorial/images/example-projected-curve.pdf index 18bef22360f055665855f9f5a7f7c72a45e8ed34..45181779bc900aab3f6022a8e33591075b4c1fa0 100644 --- a/documentation/tutorial/images/example-projected-curve.pdf +++ b/documentation/tutorial/images/example-projected-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024553) +/CreationDate (D:20171023161723) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-projected-curve.png b/documentation/tutorial/images/example-projected-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..bc14543d7fb88f8615857282dc53d21af744612a Binary files /dev/null and b/documentation/tutorial/images/example-projected-curve.png differ diff --git a/documentation/tutorial/images/example-rectangular-surface.pdf b/documentation/tutorial/images/example-rectangular-surface.pdf index db3fa9960c4f97dcc95be98bb6c241dd215f3409..aade1396284822efe2420721619df09b4b82d953 100644 --- a/documentation/tutorial/images/example-rectangular-surface.pdf +++ b/documentation/tutorial/images/example-rectangular-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024553) +/CreationDate (D:20171023161723) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-rectangular-surface.png b/documentation/tutorial/images/example-rectangular-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..2c84b1945ed2fdfc25646b2db0ff9c7036c2dd11 Binary files /dev/null and b/documentation/tutorial/images/example-rectangular-surface.png differ diff --git a/documentation/tutorial/images/example-revolved-surface.pdf b/documentation/tutorial/images/example-revolved-surface.pdf index 101314f4b697a55d694db5e5910e071b5eec21fb..dd6a5b717af5e092db8266cdf55fddb4a516bb6d 100644 --- a/documentation/tutorial/images/example-revolved-surface.pdf +++ b/documentation/tutorial/images/example-revolved-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024553) +/CreationDate (D:20171023161723) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-revolved-surface.png b/documentation/tutorial/images/example-revolved-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..e42d8473a4091f8057c26d592ec4cf364987f4ad Binary files /dev/null and b/documentation/tutorial/images/example-revolved-surface.png differ diff --git a/documentation/tutorial/images/example-revolved-surfaces.pdf b/documentation/tutorial/images/example-revolved-surfaces.pdf index 046c693138ec9308f626ee74031c135a081c4052..c812fb32908398b48f61c558c3d010f0c68ee4cd 100644 --- a/documentation/tutorial/images/example-revolved-surfaces.pdf +++ b/documentation/tutorial/images/example-revolved-surfaces.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024553) +/CreationDate (D:20171023161724) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-revolved-surfaces.png b/documentation/tutorial/images/example-revolved-surfaces.png new file mode 100644 index 0000000000000000000000000000000000000000..c323afe1fd4fa6f4e36bebe130c410828ad80944 Binary files /dev/null and b/documentation/tutorial/images/example-revolved-surfaces.png differ diff --git a/documentation/tutorial/images/example-route-pipe.pdf b/documentation/tutorial/images/example-route-pipe.pdf index f39d62f7279ef573abd9544c3c2ad167cb3ff602..db69dc4aff2fc399dc9ecbc4e92015ae7d02a5b3 100644 --- a/documentation/tutorial/images/example-route-pipe.pdf +++ b/documentation/tutorial/images/example-route-pipe.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161711) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 10524 +<< /Length 10521 >> stream q @@ -52,19 +52,19 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 -982.054 -1168.36 cm q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 1011.356 1003.403 m 1007.116 1104.375 l @@ -80,7 +80,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 996.2488 1102.463 m 1000.489 1001.491 l @@ -112,7 +112,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 964.9632 1140.155 m 996.6019 1125.745 l @@ -144,7 +144,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 958.7714 1206.149 m 956.6344 1170.056 l @@ -176,7 +176,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 997.5067 1274.14 m 955.6138 1235.114 l @@ -208,7 +208,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 967.1207 1322.468 m 1000.912 1300.877 l @@ -240,7 +240,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 996.5671 1140.644 m 1009.187 1134.896 1017.33 1121.833 1017.983 1106.287 c @@ -274,7 +274,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 934.3076 1166.829 m 933.4365 1152.116 940.774 1139.46 953.5475 1133.642 c @@ -308,7 +308,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 955.8872 1239.196 m 945.1733 1229.215 938.326 1215.312 937.5337 1201.929 c @@ -342,7 +342,7 @@ q Q q 0.5 w -0.137 0.42 0.557 RG +.1373 .4196 .5569 RG 0.0 0.0 0.0 rg 1020.64 1311.043 m 1032.337 1303.569 1027.087 1283.784 1008.912 1266.853 c @@ -396,5 +396,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -11006 +11003 %%EOF diff --git a/documentation/tutorial/images/example-route-pipe.png b/documentation/tutorial/images/example-route-pipe.png new file mode 100644 index 0000000000000000000000000000000000000000..e79277d03c7a480a705994c71327918999773342 Binary files /dev/null and b/documentation/tutorial/images/example-route-pipe.png differ diff --git a/documentation/tutorial/images/example-ruled-surface.pdf b/documentation/tutorial/images/example-ruled-surface.pdf index 94823cca82d6e51c98a02952fd9f95d100cecf76..1f3778e17cafeada5525c9dc84fdce02bbbd3601 100644 --- a/documentation/tutorial/images/example-ruled-surface.pdf +++ b/documentation/tutorial/images/example-ruled-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024554) +/CreationDate (D:20171023161724) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-ruled-surface.png b/documentation/tutorial/images/example-ruled-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..3e5e11958bacea5c288c82be0cf07afd18139dc8 Binary files /dev/null and b/documentation/tutorial/images/example-ruled-surface.png differ diff --git a/documentation/tutorial/images/example-sphere.pdf b/documentation/tutorial/images/example-sphere.pdf index 138769545da45f3e5eb3ca044749a815149add14..596450359798fb8d02446752ac86260f6b618563 100644 --- a/documentation/tutorial/images/example-sphere.pdf +++ b/documentation/tutorial/images/example-sphere.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161711) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 4152 +<< /Length 4125 >> stream q @@ -52,53 +52,53 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 0.0000000 cm +1.0 0.0 0.0 1.0 0.0 .0000000 cm q 0.5 w - 0.42 0.557 0.137 RG +.4196 .5569 .1373 RG 0.0 0.0 0.0 rg --0.000000 -136.35 m +-.000000 -136.35 m 37.1403 -160.08 67.24846 -118.271 67.24846 -42.9672 c -67.24846 32.33656 37.1403 112.6194 0.0000000 136.3496 c --0.000000 -136.35 m +67.24846 32.33656 37.1403 112.6194 .0000000 136.3496 c +-.000000 -136.35 m 71.64905 -148.228 129.7321 -96.8122 129.7321 -21.5084 c -129.7321 53.79534 71.64905 124.4708 0.0000000 136.3496 c --0.000000 -136.35 m +129.7321 53.79534 71.64905 124.4708 .0000000 136.3496 c +-.000000 -136.35 m 78.79029 -131.84 142.6624 -67.138 142.6624 8.165837 c -142.6624 83.46963 78.79029 140.8595 0.0000000 136.3496 c --0.000000 -136.35 m +142.6624 83.46963 78.79029 140.8595 .0000000 136.3496 c +-.000000 -136.35 m 55.83633 -117.174 101.1006 -40.5827 101.1006 34.72105 c -101.1006 110.0248 55.83633 155.5255 0.0000000 136.3496 c --0.000000 -136.35 m +101.1006 110.0248 55.83633 155.5255 .0000000 136.3496 c +-.000000 -136.35 m 11.55478 -109.832 20.92178 -27.2898 20.92178 48.014 c -20.92178 123.3178 11.55478 162.867 0.0000000 136.3496 c -0.0000000 -136.35 m +20.92178 123.3178 11.55478 162.867 .0000000 136.3496 c +.0000000 -136.35 m -37.1403 -112.619 -67.2485 -32.3366 -67.2485 42.96724 c --67.2485 118.271 -37.1403 160.0797 -0.000000 136.3496 c -0.0000000 -136.35 m +-67.2485 118.271 -37.1403 160.0797 -.000000 136.3496 c +.0000000 -136.35 m -71.649 -124.471 -129.732 -53.7953 -129.732 21.50845 c --129.732 96.81224 -71.649 148.2284 -0.000000 136.3496 c -0.0000000 -136.35 m +-129.732 96.81224 -71.649 148.2284 -.000000 136.3496 c +.0000000 -136.35 m -78.7903 -140.859 -142.662 -83.4696 -142.662 -8.16584 c --142.662 67.13795 -78.7903 131.8397 -0.000000 136.3496 c -0.0000000 -136.35 m +-142.662 67.13795 -78.7903 131.8397 -.000000 136.3496 c +.0000000 -136.35 m -55.8363 -155.525 -101.101 -110.025 -101.101 -34.721 c --101.101 40.58274 -55.8363 117.1737 -0.000000 136.3496 c -0.0000000 -136.35 m +-101.101 40.58274 -55.8363 117.1737 -.000000 136.3496 c +.0000000 -136.35 m -11.5548 -162.867 -20.9218 -123.318 -20.9218 -48.014 c --20.9218 27.28979 -11.5548 109.8322 -0.000000 136.3496 c --0.000000 -136.35 m +-20.9218 27.28979 -11.5548 109.8322 -.000000 136.3496 c +-.000000 -136.35 m 37.1403 -160.08 67.24846 -118.271 67.24846 -42.9672 c -67.24846 32.33656 37.1403 112.6194 0.0000000 136.3496 c +67.24846 32.33656 37.1403 112.6194 .0000000 136.3496 c 39.60171 -122.709 m 51.07869 -130.042 42.65234 -139.106 20.78092 -142.954 c -1.0905 -146.802 -28.1247 -143.977 -39.6017 -136.644 c @@ -168,5 +168,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -4633 +4606 %%EOF diff --git a/documentation/tutorial/images/example-sphere.png b/documentation/tutorial/images/example-sphere.png new file mode 100644 index 0000000000000000000000000000000000000000..08e6f2c4c0f61f2cab0d2d3514a289eb018fb14c Binary files /dev/null and b/documentation/tutorial/images/example-sphere.png differ diff --git a/documentation/tutorial/images/example-spherical-cap.pdf b/documentation/tutorial/images/example-spherical-cap.pdf index 4b6963a19dde2a174851d92427144c7c18e672df..c6f82cc3405d46ee7b5aad19e0c6d4b989377d52 100644 --- a/documentation/tutorial/images/example-spherical-cap.pdf +++ b/documentation/tutorial/images/example-spherical-cap.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161711) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 8421 +<< /Length 8397 >> stream q @@ -52,19 +52,19 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.000000 16.49096 cm +1.0 0.0 0.0 1.0 -.000000 16.49096 cm q 0.5 w -0.576 0.439 0.859 RG +.5765 .4392 .8588 RG 0.0 0.0 0.0 rg -57.0858 -62.3474 m -60.2464 -60.328 l @@ -88,34 +88,34 @@ q 18.74335 -55.8067 l -57.0858 -62.3474 m -67.6426 -15.037 -66.9551 33.33412 -55.2735 65.1479 c - -43.592 96.96169 -22.6215 107.5745 -0.000000 93.12093 c + -43.592 96.96169 -22.6215 107.5745 -.000000 93.12093 c -110.127 -80.5633 m -130.493 -36.6216 -129.166 11.96894 -106.631 47.51028 c --84.0953 83.05161 -43.6401 100.3561 -0.000000 93.12093 c +-84.0953 83.05161 -43.6401 100.3561 -.000000 93.12093 c -121.103 -105.753 m -143.499 -66.4698 -142.04 -17.5759 -117.259 23.12009 c - -92.477 63.81607 -47.9897 90.37406 -0.000000 93.12093 c + -92.477 63.81607 -47.9897 90.37406 -.000000 93.12093 c -85.8221 -128.295 m -101.693 -93.1807 -100.66 -44.0153 -83.0976 1.293563 c --65.5357 46.60239 -34.0088 81.44125 -0.000000 93.12093 c +-65.5357 46.60239 -34.0088 81.44125 -.000000 93.12093 c -17.76 -139.579 m -21.0444 -106.552 -20.8305 -57.2502 -17.1962 -9.63231 c - -13.562 37.9856 -7.0378 76.96969 -0.000000 93.12093 c + -13.562 37.9856 -7.0378 76.96969 -.000000 93.12093 c 57.08575 -135.295 m 67.64265 -101.475 66.9551 -52.2255 55.27353 -5.48423 c -43.59196 41.25702 22.62145 78.66735 0.0000000 93.12093 c +43.59196 41.25702 22.62145 78.66735 .0000000 93.12093 c 110.1267 -117.079 m 130.4925 -79.8906 129.1661 -30.8603 106.6307 12.1534 c -84.09525 55.16709 43.64007 85.8858 0.0000000 93.12093 c +84.09525 55.16709 43.64007 85.8858 .0000000 93.12093 c 121.103 -91.8896 m 143.4987 -50.0424 142.0401 -1.31546 117.2586 36.54359 c - 92.477 74.40263 47.98967 95.86781 0.0000000 93.12093 c + 92.477 74.40263 47.98967 95.86781 .0000000 93.12093 c 85.82211 -69.3474 m 101.6932 -23.3315 100.6596 25.12391 83.09763 58.37011 c -65.53569 91.61632 34.00885 104.8006 0.0000000 93.12093 c +65.53569 91.61632 34.00885 104.8006 .0000000 93.12093 c 17.76005 -58.0633 m 21.04442 -9.96066 20.83051 38.35887 17.19624 69.29599 c -13.56197 100.2331 7.037797 109.2722 0.0000000 93.12093 c +13.56197 100.2331 7.037797 109.2722 .0000000 93.12093 c 57.08575 -135.295 m 117.1672 -124.725 140.3146 -99.8258 108.787 -79.6818 c 77.2594 -59.5377 2.995643 -51.7769 -57.0858 -62.3474 c @@ -132,7 +132,7 @@ q -132.113 -18.2503 -158.213 -46.3254 -122.664 -69.0389 c -87.1144 -91.7524 -3.37776 -100.503 64.36746 -88.5844 c 63.98922 -61.4901 m -131.3363 -49.6413 157.283 -21.7311 121.9428 0.848911 c +131.3363 -49.6413 157.283 -21.7311 121.9428 .8489115 c 86.6025 23.42896 3.35791 32.12833 -63.9892 20.2795 c -131.336 8.43066 -157.283 -19.4795 -121.943 -42.0595 c -86.6025 -64.6396 -3.35791 -73.3389 63.98922 -61.4901 c @@ -163,39 +163,39 @@ q -34.9219 64.452 -1.35406 60.94403 25.80325 65.722 c 13.17929 81.94312 m 27.05017 84.38351 32.39418 90.13192 25.11546 94.78252 c -17.83674 99.43314 0.691599 101.2249 -13.1793 98.78447 c +17.83674 99.43314 .6915987 101.2249 -13.1793 98.78447 c -27.0502 96.34407 -32.3942 90.59567 -25.1155 85.94506 c --17.8367 81.29445 -0.6916 79.50272 13.17929 81.94312 c +-17.8367 81.29445 -.691599 79.50272 13.17929 81.94312 c -60.2464 -60.328 m -70.6858 -11.323 -69.5698 38.23999 -57.2968 70.6607 c --45.0239 103.0814 -23.3442 113.7367 -0.000000 98.82139 c +-45.0239 103.0814 -23.3442 113.7367 -.000000 98.82139 c -116.224 -79.5525 m -136.363 -33.8786 -134.21 16.04047 -110.534 52.37744 c --86.8577 88.7144 -45.0343 106.2877 -0.000000 98.82139 c +-86.8577 88.7144 -45.0343 106.2877 -.000000 98.82139 c -127.808 -106.137 m -149.955 -65.0697 -147.587 -14.6581 -121.551 27.09443 c --95.5148 68.847 -49.5228 95.98676 -0.000000 98.82139 c +-95.5148 68.847 -49.5228 95.98676 -.000000 98.82139 c -90.5738 -129.927 m -106.268 -92.9823 -104.59 -42.13 -86.1395 4.468937 c --67.6885 51.06786 -35.0954 86.76857 -0.000000 98.82139 c +-67.6885 51.06786 -35.0954 86.76857 -.000000 98.82139 c -18.7434 -141.836 m -21.9912 -106.955 -21.644 -55.8818 -17.8257 -6.85689 c --14.0075 42.16802 -7.26264 82.15414 -0.000000 98.82139 c +-14.0075 42.16802 -7.26264 82.15414 -.000000 98.82139 c 60.24638 -137.315 m 70.68581 -101.65 69.56978 -50.6608 57.29684 -2.55696 c -45.02391 45.54691 23.34416 83.90604 0.0000000 98.82139 c +45.02391 45.54691 23.34416 83.90604 .0000000 98.82139 c 116.224 -118.09 m 136.3632 -79.0943 134.2102 -28.4613 110.534 15.7263 c -86.85767 59.91391 45.03428 91.3551 0.0000000 98.82139 c +86.85767 59.91391 45.03428 91.3551 .0000000 98.82139 c 127.8081 -91.5058 m 149.9545 -47.9032 147.5869 2.23729 121.5508 41.0093 c -95.51476 79.78131 49.52284 101.656 0.0000000 98.82139 c +95.51476 79.78131 49.52284 101.656 .0000000 98.82139 c 90.57376 -67.7156 m 106.2683 -19.9907 104.5905 29.70915 86.13946 63.6348 c -67.68845 97.56045 35.09536 110.8742 0.0000000 98.82139 c +67.68845 97.56045 35.09536 110.8742 .0000000 98.82139 c 18.74335 -55.8067 m 21.99118 -6.01827 21.64397 43.46096 17.82572 74.96062 c -14.00746 106.4603 7.26264 115.4886 0.0000000 98.82139 c +14.00746 106.4603 7.26264 115.4886 0.0 98.82139 c 60.24638 -137.315 m 123.6543 -126.159 148.0833 -99.8814 114.8101 -78.6221 c 81.53696 -57.3628 3.161501 -49.1722 -60.2464 -60.328 c @@ -208,7 +208,7 @@ q -88.092 -117.674 -3.41566 -126.523 65.08978 -114.47 c 67.24846 -88.4605 m 138.0259 -76.0082 165.2941 -46.6765 128.1538 -22.9463 c -91.01352 0.783818 3.528943 9.926283 -67.2485 -2.52607 c +91.01352 .7838178 3.528943 9.926283 -67.2485 -2.52607 c -138.026 -14.9784 -165.294 -44.3101 -128.154 -68.0403 c -91.0135 -91.7704 -3.52894 -100.913 67.24846 -88.4605 c 66.63339 -60.3595 m @@ -243,9 +243,9 @@ q -36.0767 69.32787 -1.39883 65.7039 26.65652 70.63987 c 13.60892 87.30972 m 27.93198 89.82967 33.4502 95.76546 25.9342 100.5677 c - 18.4182 105.3699 0.714144 107.22 -13.6089 104.7001 c + 18.4182 105.3699 .7141442 107.22 -13.6089 104.7001 c -27.932 102.1801 -33.4502 96.24433 -25.9342 91.44212 c --18.4182 86.6399 -0.71414 84.78976 13.60892 87.30972 c +-18.4182 86.6399 -.714144 84.78976 13.60892 87.30972 c S Q Q @@ -270,5 +270,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -8902 +8878 %%EOF diff --git a/documentation/tutorial/images/example-spherical-cap.png b/documentation/tutorial/images/example-spherical-cap.png new file mode 100644 index 0000000000000000000000000000000000000000..4177acb235c9aab510abaa7fb8bfa4c2d3df1e7c Binary files /dev/null and b/documentation/tutorial/images/example-spherical-cap.png differ diff --git a/documentation/tutorial/images/example-spherical-surface.pdf b/documentation/tutorial/images/example-spherical-surface.pdf index fac3a765933cea4940c98f0bf5a2c0a81f5e6093..bdcbc48c453fa3a2e6545421933cafa1819473dd 100644 --- a/documentation/tutorial/images/example-spherical-surface.pdf +++ b/documentation/tutorial/images/example-spherical-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024554) +/CreationDate (D:20171023161724) >> endobj 5 0 obj @@ -87,7 +87,7 @@ q .0000000 -136.35 m -70.7774 -148.802 -128.154 -97.8508 -128.154 -22.547 c -128.154 52.75682 -70.7774 123.8972 -.000000 136.3496 c -.0000000 -136.35 m + 0.0 -136.35 m -23.785 -161.934 -43.0666 -121.629 -43.0666 -46.3255 c -43.0666 28.97825 -23.785 110.7647 -.000000 136.3496 c -.000000 -136.35 m diff --git a/documentation/tutorial/images/example-spherical-surface.png b/documentation/tutorial/images/example-spherical-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..f56d0dd5ee12a9c566b747ce4e23cda7acca51a5 Binary files /dev/null and b/documentation/tutorial/images/example-spherical-surface.png differ diff --git a/documentation/tutorial/images/example-split-surface.pdf b/documentation/tutorial/images/example-split-surface.pdf index 93b1b586512c3bb8e60c7f891a1bc2b972fb3f5f..1ff1792adc5c03c594eaf53945d1c162f678429b 100644 --- a/documentation/tutorial/images/example-split-surface.pdf +++ b/documentation/tutorial/images/example-split-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024554) +/CreationDate (D:20171023161724) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-split-surface.png b/documentation/tutorial/images/example-split-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..f61a20d2f6fc13dc41269bee84ebd93cdfc79b2b Binary files /dev/null and b/documentation/tutorial/images/example-split-surface.png differ diff --git a/documentation/tutorial/images/example-swept-solid.pdf b/documentation/tutorial/images/example-swept-solid.pdf index a3e605c6b72499d112106c04b0e45365b9550c68..84a5cff6c02442c5a9acdf7e856f240e1b879990 100644 --- a/documentation/tutorial/images/example-swept-solid.pdf +++ b/documentation/tutorial/images/example-swept-solid.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024554) +/CreationDate (D:20171023161725) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-swept-solid.png b/documentation/tutorial/images/example-swept-solid.png new file mode 100644 index 0000000000000000000000000000000000000000..e648ecaf7a43685d4576d26db4667902b27d1aaa Binary files /dev/null and b/documentation/tutorial/images/example-swept-solid.png differ diff --git a/documentation/tutorial/images/example-torus.pdf b/documentation/tutorial/images/example-torus.pdf index 209fa5a1e0696ce1bf2ca82626e71342c8116bbd..0afe3c222c8f22a7cc578bc6d4c8f3102824b4f8 100644 --- a/documentation/tutorial/images/example-torus.pdf +++ b/documentation/tutorial/images/example-torus.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135727) +/CreationDate (D:20171023161712) >> endobj 5 0 obj @@ -36,7 +36,7 @@ >> endobj 6 0 obj -<< /Length 5850 +<< /Length 5845 >> stream q @@ -52,24 +52,24 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 0.5 w - 0.42 0.557 0.137 RG +.4196 .5569 .1373 RG 0.0 0.0 0.0 rg 52.53786 -33.5682 m -107.8327 -23.8398 129.136 -0.92436 100.1202 17.61482 c +107.8327 -23.8398 129.136 -.924359 100.1202 17.61482 c 71.10432 36.154 2.756987 43.29655 -52.5379 33.56815 c --107.833 23.83976 -129.136 0.924359 -100.12 -17.6148 c +-107.833 23.83976 -129.136 .9243587 -100.12 -17.6148 c -71.1043 -36.154 -2.75699 -43.2966 52.53786 -33.5682 c 128.1538 22.54697 m 165.2941 -1.18318 138.0259 -30.5149 67.24846 -42.9672 c @@ -92,19 +92,19 @@ q -117.963 29.21104 -98.5025 50.14369 -47.992 59.03034 c 2.518439 67.91698 64.95203 61.39244 91.4573 44.45736 c 77.44048 31.15619 m -99.88352 16.81659 83.40592 -0.9079 40.63673 -8.43258 c +99.88352 16.81659 83.40592 -.907903 40.63673 -8.43258 c -2.13246 -15.9573 -54.9974 -10.4327 -77.4405 3.906931 c -99.8835 18.24653 -83.4059 35.97102 -40.6367 43.4957 c 2.132461 51.02037 54.99743 45.49578 77.44048 31.15619 c 72.08652 12.68267 m -92.97794 -0.66554 77.63954 -17.1646 37.82726 -24.1691 c +92.97794 -.665538 77.63954 -17.1646 37.82726 -24.1691 c -1.98503 -31.1735 -51.1951 -26.0309 -72.0865 -12.6827 c --92.9779 0.665538 -77.6395 17.16463 -37.8273 24.16907 c +-92.9779 .6655383 -77.6395 17.16463 -37.8273 24.16907 c 1.98503 31.17352 51.19511 26.03088 72.08652 12.68267 c 77.44048 -3.90693 m 99.88352 -18.2465 83.40592 -35.971 40.63673 -43.4957 c -2.13246 -51.0204 -54.9974 -45.4958 -77.4405 -31.1562 c --99.8835 -16.8166 -83.4059 0.907903 -40.6367 8.432577 c +-99.8835 -16.8166 -83.4059 .9079032 -40.6367 8.432577 c 2.132461 15.95725 54.99743 10.43267 77.44048 -3.90693 c 91.4573 -12.276 m 117.9626 -29.211 98.5025 -50.1437 47.99203 -59.0303 c @@ -200,5 +200,5 @@ trailer /Root 1 0 R /Info 4 0 R >> startxref -6331 +6326 %%EOF diff --git a/documentation/tutorial/images/example-torus.png b/documentation/tutorial/images/example-torus.png new file mode 100644 index 0000000000000000000000000000000000000000..277ef3b4de6dc246762c8ef61c63dd7bd8b9b9f9 Binary files /dev/null and b/documentation/tutorial/images/example-torus.png differ diff --git a/documentation/tutorial/images/example-trimmed-curve.pdf b/documentation/tutorial/images/example-trimmed-curve.pdf index 375faecea71240ae749d1597bc1c60439cf99996..b8015d5b20492287859812b22b7af02b13483d0e 100644 --- a/documentation/tutorial/images/example-trimmed-curve.pdf +++ b/documentation/tutorial/images/example-trimmed-curve.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024554) +/CreationDate (D:20171023161725) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-trimmed-curve.png b/documentation/tutorial/images/example-trimmed-curve.png new file mode 100644 index 0000000000000000000000000000000000000000..81819c805f796ccd4fe8507ed777a500fa674456 Binary files /dev/null and b/documentation/tutorial/images/example-trimmed-curve.png differ diff --git a/documentation/tutorial/images/example-trimmed-surface.pdf b/documentation/tutorial/images/example-trimmed-surface.pdf index dec09c819c80af24bc4c78b46db7a216346a1e66..3c064d9ab92eaeaa7c70b3bcb05f1a093d063fda 100644 --- a/documentation/tutorial/images/example-trimmed-surface.pdf +++ b/documentation/tutorial/images/example-trimmed-surface.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20161005024555) +/CreationDate (D:20171023161725) >> endobj 5 0 obj diff --git a/documentation/tutorial/images/example-trimmed-surface.png b/documentation/tutorial/images/example-trimmed-surface.png new file mode 100644 index 0000000000000000000000000000000000000000..5b809bf0c6d904bbabcb7599055ed4e1c2c51ab5 Binary files /dev/null and b/documentation/tutorial/images/example-trimmed-surface.png differ diff --git a/documentation/tutorial/images/example-vertical-dimension.pdf b/documentation/tutorial/images/example-vertical-dimension.pdf index 4890ae67c4dc9166bcd77dcae220242d30355801..43a23bae51084d7c62d43e4eabaa9220fa91942b 100644 --- a/documentation/tutorial/images/example-vertical-dimension.pdf +++ b/documentation/tutorial/images/example-vertical-dimension.pdf @@ -14,7 +14,7 @@ endobj 4 0 obj << /Creator (cl-pdf 2.03 - ) -/CreationDate (D:20170510135728) +/CreationDate (D:20171023161712) >> endobj 5 0 obj @@ -37,7 +37,7 @@ >> endobj 6 0 obj -<< /Length 2028 +<< /Length 2244 >> stream q @@ -53,16 +53,16 @@ Q 1.0 0.0 0.0 1.0 180.0 180.0 cm q q - 1.0 0.0 -0.0 1.0 0.0 0.0 cm + 1.0 0.0 0.0 1.0 0.0 0.0 cm -180.0 -180.0 360.0 360.0 re W n q -1.0 0.0 0.0 1.0 -0.0 -0.0 cm +1.0 0.0 0.0 1.0 0.0 0.0 cm q 1.0 0.0 0.0 1.0 0.0 0.0 cm q -1.0 0.0 0.0 1.0 14.76031 -0.0 cm +1.0 0.0 0.0 1.0 14.76031 0.0 cm q 0.5 w 0.0 0.0 0.0 RG @@ -107,14 +107,34 @@ q -173.328 -83.7333 l -171.002 -86.8345 l -168.676 -83.7333 l +-171.002 -93.037 l + B +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg -171.002 -93.037 m -171.002 -11.1644 l + S +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg -171.002 7.442957 m -171.002 93.03696 l + S +Q +q + 0.5 w + 0.0 0.0 0.0 RG + 0.0 0.0 0.0 rg -171.002 93.03696 m -168.676 83.73327 l -171.002 86.8345 l -173.328 83.73327 l +-171.002 93.03696 l B Q q @@ -195,11 +215,11 @@ xref 0000000137 00000 n 0000000219 00000 n 0000000441 00000 n -0000002523 00000 n +0000002739 00000 n trailer << /Size 8 /Root 1 0 R /Info 4 0 R >> startxref -2622 +2838 %%EOF diff --git a/documentation/tutorial/images/example-vertical-dimension.png b/documentation/tutorial/images/example-vertical-dimension.png new file mode 100644 index 0000000000000000000000000000000000000000..ca97a5e8df542c817046f312aaa8f15fe8690f81 Binary files /dev/null and b/documentation/tutorial/images/example-vertical-dimension.png differ diff --git a/documentation/tutorial/source/assembly.lisp b/documentation/tutorial/source/assembly.lisp index 92aa9b54b1af6290dba4a746abaea74d3767b6cf..8b1b3685908235b4b464a7124ba3dd0da8836d88 100644 --- a/documentation/tutorial/source/assembly.lisp +++ b/documentation/tutorial/source/assembly.lisp @@ -165,10 +165,687 @@ written consent from Genworks International.") (when (probe-file output-images) (uiop/filesystem:delete-directory-tree output-images :validate t)) (com.genworks.lisp:copy-directory - (merge-pathnames "documentation/tutorial/images/" (asdf:system-source-directory :gendl)) + (merge-pathnames "documentation/tutorial/images/" + (if (asdf:system-source-directory :gendl) + (or (probe-file (asdf:system-source-directory :gendl)) + (probe-file "~/genworks/gendl/")) (probe-file "~/genworks/gendl/"))) output-images)) (let ((html-path (make-html :output-directory output-directory :output-file-namestring html-output-file-namestring)) (css-path (make-css :output-directory output-directory :output-file-namestring css-output-file-namestring))) (values html-path css-path))) + + + +(in-package :yadd) + +(define-object object-dokumentation (remark-writers-mixin base-yadd-sheet) + + :input-slots + ((show-supported-flag nil) + (instance-supplied nil) + (part-symbol-supplied nil) + (part-package-supplied nil) + (part-package (cond ((the :part-package-supplied) (the :part-package-supplied)) + ((the :instance-supplied) + (package-name (symbol-package (the + :instance-supplied + :type)))) + ((symbolp (the :symbol)) + (package-name (symbol-package (the :symbol)))) + (t (package-name *package*)))) + + ;; + ;; FLAG -- append with the symbols-for-index from each section. + ;; + (symbols-for-index (cons (list self (format nil "~a" (the symbol))) + (apply #'append (mapsend (list-elements (the sections)) :symbols-for-index)))) + + (symbol (cond ((the :part-symbol-supplied) (the :part-symbol-supplied)) + ((the :instance-supplied) (the :instance-supplied :type)) + (t nil))) + (instance (progn (when (or (and (the :instance-supplied) + (the :part-symbol-supplied)) + (and (the :instance-supplied) + (the :part-package-supplied))) + (error " +If you specify :instance-supplied, do not specify :part-symbol-supplied or :part-package-supplied. + +If you specify :part-symbol-supplied, do not specify :instance-supplied.")) + (or (the :instance-supplied) + (make-canonical-part (the :part-full-symbol))))) + ;;(inherit? t + (inherit? nil) + + (show-all-messages? t)) + + :computed-slots + ( + (main-sheet-body + (with-cl-who-string () + (str (the main-section main-div)))) + + + (documentation (with-output-to-string (*html-stream*) + (the write-documentation))) + + + + (pretty-definition + (let ((*package* (find-package (the part-package)))) + (with-cl-who-string () + (:pre + ((:div :class "gdl-object-def") + "(" ((:span :class "gdl-operator") "define-object") " " + ((:span :class "gdl-defined-symbol") (str (the part-full-symbol))) + (fmt " (~{~a~^ ~})" (remove 'gdl::vanilla-mixin (the mixins-list)))) + + (mapc #'(lambda(section) + (str (with-output-to-string (*html-stream*) + (write-the-object section pretty-definition)))) + (list-elements (the code-sections))) ")")))) + + + (strings-for-display (format nil "~a" (the :part-full-symbol))) + + (strings-for-display-verbose (format nil "Dokumentation for ~s" + (the :part-full-symbol))) + + + + (part-full-symbol (read-from-string + (string-append (format nil "~a" (the :part-package)) "::" + (format nil "~a" (the :symbol))))) + (part-messages (the instance + (message-list :category :all + :message-type (if (the :inherit?) :global :local) + :return-category? t + :sort-order :by-category :filter + #'(lambda (category msg) + (declare (ignore category)) + (not (eql :documentation msg)))))) + + (category-headings (list :required-input-slots "Input Slots (required)" + :optional-input-slots "Input Slots (optional)" + :settable-optional-input-slots "Input Slots (optional, settable)" + :defaulted-input-slots "Input Slots (optional, defaulting)" + :settable-defaulted-input-slots "Input Slots (optional, defaulting, settable)" + :settable-computed-slots "Computed Slots (settable)" + :computed-slots "Computed Slots" :trickle-down-slots + "Trickle-down Slots" :query-slots "Query Slots" + :objects "Objects" :quantified-objects + "Objects (sequence)" :hidden-objects "Hidden Objects" + :quantified-hidden-objects "Hidden Objects (sequence)" + :functions "GDL Functions")) + + (relevant-categories (let ((all-categories + (plist-keys (the category-headings))) + (found-categories + (plist-values (the part-messages)))) + + (remove-if-not + #'(lambda (category) + (member category found-categories)) + all-categories))) + + (part-documentation-plist (the :instance (:documentation))) + + + (example-code (let ((examples (getf (the part-documentation-plist) :examples))) + (when examples + (let ((start-pre (search "
" examples)) + (end-pre (search "" examples))) + (when (and (numberp start-pre) (numberp end-pre)) + (subseq examples (+ start-pre 5) end-pre)))))) + + (mixins-list (the :instance (:mixins :local? t))) + + ;;(show-vrml? (getf (the instance %renderer-info%) :vrml?)) + + + (show-vrml? nil) + + (load-example (progn (with-open-file (out (the lisp-file) :direction :output + :if-exists :supersede + :if-does-not-exist :create) + (princ (the example-code) out)) + ;; + ;; FLAG -- try to muffle redefinition warnings here. + ;; + (load (compile-file (the lisp-file)))) :uncached) + + (image-file (glisp:temporary-file :extension "png")) + + (image-url (format nil "/images/~a" (make-pathname :name (pathname-name (the image-file)) + :type (pathname-type (the image-file))))) + (lisp-file (make-pathname :directory (pathname-directory (the image-file)) + :name (pathname-name (the image-file)) + :device (pathname-device (the image-file)) + :type "lisp")) + + (code-section-keywords '(:input-slots (:required-input-slots + :optional-input-slots + (:settable-optional-input-slots :settable) + (:defaulted-input-slots :defaulting) + (:settable-defaulted-input-slots :settable :defaulting)) + :computed-slots (:computed-slots + (:settable-computed-slots :settable) + (:uncached-computed-slots :uncached)) + :objects (:objects :quantified-objects) + :hidden-objects (:hidden-objects :quantified-hidden-objects) + :functions (:functions) + :methods (:methods)))) + + :objects + ((sections :type 'object-dokumentation-category + :sequence (:size (length (the :relevant-categories))) + :category (nth (the-child :index) (the :relevant-categories)) + :heading (getf (the category-headings) (the-child category)) + :instance (the :instance) + :inherit? (the :inherit?)) + + + (code-sections :type 'code-section + :sequence (:size (length (plist-keys (the code-section-keywords)))) + :all-sections (list-elements (the sections)) + :section-keys (getf (the code-section-keywords) (the-child keyword)) + :keyword (nth (the-child index) (plist-keys (the code-section-keywords))))) + + :hidden-objects + ( + (main-section :type 'sheet-section + :inner-html (with-cl-who-string + () + + (when *developing?* (htm (:p (str (the devo-links-string))))) + + (when (the :return-object) + (htm (:p (str (the (back-link + :display-string "Package Documentation")))))) + + (str (the :documentation)) + + + + + + (when (the :return-object) (htm (:p (str (the (back-link + :display-string + "Package Documentation")))))) + + ;;(:p (str (the pretty-definition))) + + (:p (str (the :footer))))) + + (vrml-sample :type (if (the show-vrml?) + (with-input-from-string (ss (the example-code)) + (let ((*package* (find-package (second (read ss))))) + (intern (symbol-name (second (read ss))) *package*))) + 'null-part)) + + (vrml-view :type (if (the show-vrml?) 'web-drawing 'null-part) + ;;:view-default (getf (the instance %renderer-info%) :view-default :trimetric) + :object-roots (list (the vrml-sample))) + + + (vrml-sheet :type (if (the show-vrml?) 'vrml-sheet 'null-part) + :pass-down (vrml-view load-example)) + + ) + + + :functions + ( + (dom-body + () + + + (when (and (the example-code) (not (search "(generate-sample-drawing" (the example-code)))) + (warn "Sample code found in ~s, but no call to generate-sample-drawing was found." + (the part-full-symbol))) + + (let (pdf-file named-pdf-file (net.html.parser::*ch-format* '(:i :b :big :small :strike :s :u :em :strong :font))) + + (when (and (the example-code) + (or (search "(generate-sample-drawing" (the example-code)) + (search "(with-format (pdf" (the example-code)))) + (format t "~&~%Loading example code and generating example image for ~s...~%" + (the part-full-symbol)) + + (the load-example) + + (setq pdf-file (merge-pathnames "example.pdf" (glisp:temporary-folder)) + named-pdf-file (merge-pathnames (format nil "example-~(~a~).pdf" (the part-full-symbol)) + "~/genworks/gendl/documentation/tutorial/images/")) + (when (probe-file named-pdf-file) (delete-file named-pdf-file)) + (uiop:copy-file pdf-file named-pdf-file)) + + `((:p (:textbf (:underline "Mixins:")) " " + ,(format nil "~{~a~^, ~}" (mapcar #'(lambda (sym) (string sym)) (the mixins-list)))) + (:p ((:list :style :description) + ,@(mapcar #'(lambda(keyword) + `((:item :word (:underline ,(format nil "~@(~a~)" keyword))) + (:p ,@(net.html.parser:parse-html (getf (the :part-documentation-plist) keyword))))) + (remove-if-not #'(lambda(keyword) + (getf (the part-documentation-plist) keyword)) + (remove :examples (safe-sort *allowed-part-documentation-keywords* #'string<)))))) + + ,(when (the example-code) + `((:boxed-figure :caption ,(format nil "Example Code for ~s" (the part-full-symbol)) + :label ,(format nil "fig:example-code-~s" (the part-full-symbol))) + (:small (:verbatim ,(the example-code))))) + + + ,(when named-pdf-file + `((:image-figure :image-file ,named-pdf-file + :width "3in" :height "3in" + :caption ,(format nil "~s example" (the part-full-symbol)) + :label ,(format nil "fig:~s" (the part-full-symbol))))) + + (:p ,@(or + (remove + nil + (mapcar #'(lambda (section) + (let ((values (the-object section message-and-remarks))) + (when values + `(:p + (:textbf (:underline ,(format nil "~@(~a~):" (the-object section heading)))) + ((:list :style :description) + ,@(mapcar #'(lambda(value) + `((:item :word ,(format nil "~@(~a~)" + (first value) + #+nil ;; reformat inheritance note + (if (sixth value) + (format nil "[~a]" (sixth value)) + ""))) + + (:index ,(format nil "~@(~a~)~%[~(~a~)]" + (first value) + (the symbol))) + + ,(if (getf (fourth value) :type) + + #+nil + `(:emph ,(replace-substring + (getf (fourth value) :type) + "-dot-" ".")) + + `(:emph ,(let ((parsed + (net.html.parser:parse-html + (replace-substring + (getf (fourth value) :type) + "-dot-" ".")))) + parsed)) + "") + + (:p ,@(let ((parsed-intro (net.html.parser:parse-html (getf (fourth value) :intro)))) + parsed-intro)))) + values)))))) + + (list-elements (the sections)))) + `("")))))) + + (write-documentation + nil + (html ((:table :bgcolor "#eeeeff" :width "100%" :border 0 :cellpadding 1 + :cellspacing 0) + (:tr + (:td + (:b + ((:font :size "+1") "Object: " + (:princ (string (the :part-full-symbol))) + ((:font :size -1) + (:i " (The :" + (:princ + (string (package-name (the :part-package)))) + " Package)")))))) + (:tr + (:td (:b "Mixins: ") + (format *html-stream* "~{~a~^, ~}" + (mapcar #'(lambda (sym) + (when *debug?* (print-variables sym)) + (let ((page-object (gethash sym (the index-ht)))) + (cond ((eql sym 'standard-object) + (with-output-to-string (ss) + (html-stream + ss + ((:a + :href + "http://www-2.cs.cmu.edu/Groups/AI/html/hyperspec/HyperSpec/Body/cla_standard-object.html") + (:princ + (string sym)))))) + (page-object + (with-output-to-string (ss) + (html-stream + ss + ((:a + :href + (the-object page-object url)) + (:princ + (string sym)))))) + (t (string sym))))) + (the mixins-list)))))) + (dolist (keyword + (remove :examples (safe-sort *allowed-part-documentation-keywords* #'string<))) + (when (getf (the :part-documentation-plist) keyword) + (html (:p (:h3 (:princ (format nil "~@(~a~)" keyword))) + (let ((text (getf (the :part-documentation-plist) keyword))) + (html (:princ text))))))) + (let ((trickle-down-slots + (safe-sort (remove-if-not + #'(lambda (message) + (let ((remark + (the instance + (message-remarks message)))) + (and remark + (eql (first remark) + (the part-full-symbol))))) + (the instance + (message-list :category :trickle-down-slots + :message-type :local))) + #'string-lessp))) + (when trickle-down-slots + (html ((:table :width "100%" :border 0 :cellpadding 1 :cellspacing 1) + ((:tr :bgcolor "#eeeeff") + ((:td :colspan 2) + (:b ((:font :size "+1") "Trickle-Down Slots")))) + (:tr + ((:td :align :left) + (format *html-stream* "~{~a~^, ~}" + trickle-down-slots))))))) + + + (mapc #'(lambda (section) + (let ((values (the-object section message-and-remarks))) + + (when values + (html ((:table :width "100%" :border 0 :cellpadding 1 + :cellspacing 0) + ((:tr :bgcolor "#eeeeff") + ((:td :colspan 2) + (:b + ((:font :size "+1") + (:princ (the-object section heading)))))) + (:tr (:td :br)) + (dolist (value values) + (when (or (the :show-all-messages?) + (the + (:supported? + (getf (fourth value) :type)))) + (html (:tr + ((:td :align :left) + (:b + (:princ + (first value))) + (when (sixth value) + (html " [" (:i (:princ (sixth value))) "] ")) + (when + (getf (fourth value) :type) + (html + " " + (:i + (the + (:write-type + (replace-substring + (getf (fourth value) :type) + "-dot-" + ".") + :show-supported-flag? + (the :show-supported-flag)))))) + + (when (fifth value) + (html (:pre (:prin1 (fifth value))))) + ) + ((:td :align :right) :br)) + (:tr + ((:td :colspan 2) + (the + (:write-remark-body (fourth value))))) + (:tr ((:td :colspan 2) :br))))) + (:tr :br)))))) + (list-elements (the sections))) + + + (when (getf (the :part-documentation-plist) :examples) + (html (:p (:h3 (:princ (format nil "~@(~a~)" :examples))) + (let ((text (getf (the :part-documentation-plist) :examples))) + (html (:princ text)))))) + + + (when (and (the example-code) (not (search "(generate-sample-drawing" (the example-code)))) + (warn "Sample code found in ~s, but no call to generate-sample-drawing was found." + (the part-full-symbol))) + + (when (and (the example-code) + (or (search "(generate-sample-drawing" (the example-code)) + (search "(with-format (pdf" (the example-code)))) + (let ((image-file (the image-file)) (image-format :png) + (pdf-file (merge-pathnames "example.pdf" (glisp:temporary-folder))) + (url (the image-url)) (lisp-file (the lisp-file))) + (with-all-servers (server) + (publish :path url + :server server + :content-type "image/png" + :format :binary + :function #'(lambda(req ent) + (format t "~&~%Loading example code and generating example image for ~s...~%" + (the part-full-symbol)) + (the load-example) + (let ((command (format nil "\"~a\" -q -sDEVICE=~a \"-sOutputFile=~a\" -dTextAlphaBits=~a -dGraphicsAlphaBits=~a -dSAFER -dBATCH -dNOPAUSE \"~a\"" + *gs-path* (ecase image-format + (:png "png16m") + (:gif "gif") + ((:jpg :jpeg) "jpeg")) + image-file + *gs-text-alpha-bits* + *gs-graphics-alpha-bits* + pdf-file))) + + (let ((return-value + (glisp:run-program command :show-window? nil))) + (with-http-response (req ent) + (setf (reply-header-slot-value req :cache-control) "no-cache") + (setf (reply-header-slot-value req :pragma) "no-cache") + (with-http-body (req ent) + (let + ((reply-stream (request-reply-stream req))) + (with-open-file + (image-stream image-file :element-type '(unsigned-byte 8)) + (do ((val (read-byte image-stream nil nil) + (read-byte image-stream nil nil))) + ((null val)) + (write-byte val reply-stream)))))) + + (when (or (null return-value) (zerop return-value)) + (delete-file pdf-file) + (delete-file image-file) + (delete-file lisp-file) + (delete-file (make-pathname :name (pathname-name lisp-file) + :type glisp:*fasl-extension* + :directory (pathname-directory lisp-file) + :device (pathname-device lisp-file))))))))) + + (push url (gethash (make-keyword (the instance-id)) gwl::*url-hash-table*)) + + (html ((:table :cellpadding 1) + ((:tr :bgcolor "#cccccc") (:td ((:img :src url))) + (when (the show-vrml?) + (html ((:td :valign :top) + (:ul (:li (the vrml-sheet (write-self-link :display-string "VRML..."))) + (:li ((:font :color :grey) "RenderMan..."))))))))))))))) + + + +(in-package :surf) + +(define-object fitted-surface (surface) + + :documentation (:description "Fits a surface through a net of points with given degrees and parameterizations. Currently +only interpolated surfaces are supported, this will be extended to allow smooth fitting without the surface necessarily +interpolating (going through) each of the points." + + :examples "
+ + (in-package :gdl-user) + + (define-object c11-test (surface) + + :input-slots () + + :computed-slots () + + :objects + ((surf-test :type 'fitted-surface + :hidden nil + :c11? t + :points (list (list (make-point -1 0 0) + (make-point 0 0 0) + (make-point 0.001 0.0 0) + (make-point 1 1 0) + (make-point 1.001 1 0) + (make-point 2 1 0) + (make-point 2.001 1 0) + (make-point 3 2 0) + (make-point 3.001 2.001 0) + (make-point 4 3 0) + (make-point 5 4 0)) + (list + (make-point -1 0 1) + (make-point 0 0 1) + (make-point 0.001 0.0 1) + (make-point 1 1 1) + (make-point 1.001 1 1) + (make-point 2 1 1) + (make-point 2.001 1 1) + (make-point 3 2 1) + (make-point 3.001 2.001 1) + (make-point 4 3 1) + (make-point 5 4 1)))))) + + + (#+allegro excl:without-package-locks #-allegro progn + (define-object test-fitted-surface (fitted-surface) + + :input-slots + ((display-controls (list :color :green-spring :isos (list :n-v 19 :n-u 19))) + + (grid-width 4 :settable) (grid-length 4 :settable) (grid-height 4 :settable)) + + :computed-slots + ((points (list (list (make-point 0 0 0) + (make-point (/ (the grid-width) 4) 0 0) + (make-point (half (the grid-width)) 0 0) + (make-point (* 3/4 (the grid-width)) 0 0) + (make-point (the grid-width) 0 0)) + + (list (make-point 0 (/ (the grid-length) 4) 0) + (make-point (/ (the grid-width) 4) + (/ (the grid-length) 4) + (/ (the grid-height) 4)) + (make-point (half (the grid-width)) + (/ (the grid-length) 4) + (* (/ (the grid-height) 4) 1.6)) + (make-point (* 3/4 (the grid-width)) + (/ (the grid-length) 4) + (/ (the grid-height) 4)) + (make-point (the grid-width) + (/ (the grid-length) 4) 0)) + + (list (make-point 0 (half (the grid-length)) 0) + (make-point (/ (the grid-width) 4) + (half (the grid-length)) + (* (/ (the grid-height) 4) 1.8)) + (make-point (half (the grid-width)) + (half (the grid-length)) + (the grid-height)) + (make-point (* 3/4 (the grid-width)) + (half (the grid-length)) + (* 3/4 (the grid-height))) + (make-point (the grid-width) (half (the grid-length)) 0)) + + (list (make-point 0 (* 3/4 (the grid-length)) 0) + (make-point (/ (the grid-width) 4) + (* 3/4 (the grid-length)) + (min (* (/ (the grid-height) 4) + (* (/ (the grid-height) 4) 1.4)) + (the grid-height))) + (make-point (half (the grid-width)) + (* 3/4 (the grid-length)) + (min (* (/ (the grid-height) 4) + (* (/ (the grid-height) 4) 1.8)) + (the grid-height))) + (make-point (* 3/4 (the grid-width)) + (* 3/4 (the grid-length)) + (/ (the grid-height) 4)) + (make-point (the grid-width) + (* 3/4 (the grid-length)) 0)) + + (list (make-point 0 (the grid-length) 0) + (make-point (/ (the grid-width) 4) (the grid-length) 0) + (make-point (half (the grid-width)) (the grid-length) 0) + (make-point (* 3/4 (the grid-width)) (the grid-length) 0) + (make-point (the grid-width) (the grid-length) 0))))))) + + (generate-sample-drawing :objects (make-object 'test-fitted-surface) + :projection-direction :trimetric) + + +") + + + :input-slots + ("List of lists of 3D Points. The points for fitting, with inner lists representing U direction and outer lists V direction." + points + + ("List of 3D vectors of same length as points, or nil. If given, these are the surface normals at each point." + normals nil) + + + ("Integer. The starting degree for the fit algorithm in the U direction. Default is 1." + u-start 1) + + ("Integer. The starting degree for the fit algorithm in the V direction. Default is 1." + v-start 1) + + ("Integer. The desired degree of the resultant surface in the U direction. Default is 3." + u-degree 3) + + ("Integer. The desired degree of the resultant surface in the V direction. Default is 3." + v-degree 3) + + ("Keyword symbol, one of :uniform, :chord-length, :centripetal. The parameterization to use in the resultant surface if +interpolant? is t. Default is :chord-length" + parameterization :chord-length) + + + ("Boolean. Indicates whether the surface will interpolate the points. Defaults to t." + interpolant? t) + + ("Boolean. If interpolated, indicates whether to compute a C11 continuous nonrational bicubic NURBS surface. Defaults to nil." + c11? nil) + + ("Keyword symbol, one of :bessel, :akima. The method used to compute tangents. Defaults to :akima." + tangent-method :akima) + + ("Number. Tolerance for fit. Defaults to *3d-approximation-tolerance-default*." + tolerance *3d-approximation-tolerance-default*)) + + + :computed-slots + ((native-surface (cond ((the interpolant?) + (cond ((the c11?) + (interpolate-c11-surface *geometry-kernel* (the points) + :tangent-method (the tangent-method))) + (t (interpolate-surface *geometry-kernel* (the points) + (the u-degree) (the v-degree) + (the parameterization))))) + ((the normals) + (approximate-surface *geometry-kernel* (the points) (the normals))) + (t (approximate-surface *geometry-kernel* (the points) (the normals) + :u-start (the u-start) :u-required (the u-degree) + :v-start (the v-start) :v-required (the v-degree) + :tolerance (the tolerance))))) + + (bounding-box (bounding-box-from-points (flatten (the points)))))) + diff --git a/documentation/tutorial/source/custom-user-interfaces.lisp b/documentation/tutorial/source/custom-user-interfaces.lisp index 9d03cbe341edeaf1caa0593bd04616bf6e27a7bc..b15832905e659a8aa508fbc0c79a498341a99166 100644 --- a/documentation/tutorial/source/custom-user-interfaces.lisp +++ b/documentation/tutorial/source/custom-user-interfaces.lisp @@ -102,7 +102,7 @@ additionally establishes the default environment for outputting an HTML string w (:p "Figure "(:ref "fig:gwl-hello-world")" is an example of a simple static web page." ((:boxed-figure :caption "Simple Static Page" :label "fig:gwl-hello-world") - (:small (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-hello-world.gdl")))) + (:small (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-hello-world.gdl")))) #+NOT-YET ((:image-figure :image-file "gwl-hello-world.png" :caption "Simple Static Page" :width "4in" :height "3in" @@ -114,7 +114,7 @@ package qualification. See "(:href "http://weitz.de/cl-who" "http://weitz.de/cl- dynamic HTML generation in CL-WHO." ((:boxed-figure :caption "Dynamic Content Using CL-WHO" :label "fig:gwl-president-table") - (:small (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-president-table.gdl")))) + (:small (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-president-table.gdl")))) #+NOT-YET ((:image-figure :image-file "gwl-president-table.png" :caption "Dynamic Content Using CL-WHO" @@ -200,7 +200,7 @@ where we put detailed information about each president on a separate page, and p pages from a summary page. Each child page contains a link to return back to the summary." ((:boxed-figure :caption "Hyperlinking" :label "fig:gwl-president-links") - (:small (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-president-links.gdl")))) + (:small (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-president-links.gdl")))) #+NOT-YET ((:image-figure :image-file "gwl-president-links.png" :caption "Hyperlinking" @@ -228,7 +228,7 @@ Hello World application of "(:ref "fig:gwl-hello-world")" to allow the user to customize both the name and the greeting." ((:boxed-figure :caption "Input Using Forms" :label "fig:gwl-hello-world-form") - (:small (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-hello-world-form.gdl")))) + (:small (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-hello-world-form.gdl")))) #+NOT-YET ((:image-figure :image-file "gwl-hello-world-form.png" :caption "Input Using Forms" @@ -268,7 +268,7 @@ of this manual. Examples of available form controls are:" ((:boxed-figure :caption "Using Form Controls" :label "fig:gwl-3b") - (:tiny (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-3b.gdl")))) + (:tiny (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-3b.gdl")))) ((:image-figure :image-file "gwl-3b.png" :caption "Using Form Controls" :width "4in" :height "3in" @@ -277,7 +277,7 @@ of this manual. Examples of available form controls are:" (:p "Figure "(:ref "fig:gwl-hello-world-controls")" reimplements the Hello World form from the last section using form controls. The functionality is the same but the source is shorter and simpler to read and understand." ((:boxed-figure :caption "Using Form Controls" :label "fig:gwl-hello-world-controls") - (:small (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-hello-world-controls.gdl")))) + (:small (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-hello-world-controls.gdl")))) ))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -336,7 +336,7 @@ using AJAX. Note that we don't need the explicit UPDATE button any more, as the immediately due to the use of "(:texttt ":ajax-submit-on-change?")" argument in each of the form controls." ((:boxed-figure :caption "Using AJAX" :label "fig:gwl-hello-world-ajax") - (:small (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-hello-world-ajax.gdl")))) + (:small (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-hello-world-ajax.gdl")))) ) ) @@ -361,7 +361,7 @@ can be controlled with other optional input-slots.") ((:boxed-figure :caption "Including Graphics in a Web Page" :label "fig:gwl-5") - (:tiny (:verbatim (:include "~/gendl/documentation/tutorial/examples/gwl-5.gdl")))) + (:tiny (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/gwl-5.gdl")))) ((:image-figure :image-file "gwl-5.png" :caption "Including Graphics" diff --git a/documentation/tutorial/source/gendl-geometry.lisp b/documentation/tutorial/source/gendl-geometry.lisp index c1bd88e02d49b4bfc9355b26c5be30c0e782ee30..8796acbef8e525a425900771399fa07f9cdfbafe 100644 --- a/documentation/tutorial/source/gendl-geometry.lisp +++ b/documentation/tutorial/source/gendl-geometry.lisp @@ -163,7 +163,7 @@ into into the " " child object. Therefore it is not necessary to pass them down explicitly.")) ((:boxed-figure :caption "Definition of a Box" :label "fig:box-code") - (:verbatim (:include "~/gendl/documentation/tutorial/examples/box-1.gdl"))) + (:verbatim (:include "~/genworks/gendl/documentation/tutorial/examples/box-1.gdl"))) ((:image-figure :image-file "tasty-box-1.png" :caption "Simple box displayed in Tasty" :width "4in" :height "3in" :label "fig:tasty-box"))) diff --git a/geom-base/annotations/source/leader-line.lisp b/geom-base/annotations/source/leader-line.lisp index aef56e11d20ed352dd3f663e960a515bab1a63b2..fb6d4e02ec1e470174688849427870df28a611bc 100755 --- a/geom-base/annotations/source/leader-line.lisp +++ b/geom-base/annotations/source/leader-line.lisp @@ -112,6 +112,62 @@ Currently only :wedge is supported. Default is :none." :rear (the arrowhead-vector))))) +(define-object arrowhead (base-object) + + :input-slots + ((style :wedge) + (length (* .2 72)) + (width (* .1 72)) + (wedge-ratio 1/3)) + + + :computed-slots + ((height 0) + (arrow-center (translate (the center) + :front (* (the length) (- 1 (the wedge-ratio))))) + ;; + ;; FLAG -- remove this when we have more general 2d bounding box machinery + ;; + (%lines-to-draw% (append + (destructuring-bind (p0 p1 p2 p3) + (the outline-points) + (list (list p0 p1) + (list p1 p2) + (list p2 p3) + (list p3 p0))) + (when (the second-outline-points) + (destructuring-bind (p0 p1 p2 p3) + (the second-outline-points) + (list (list p0 p1) + (list p1 p2) + (list p2 p3) + (list p3 p0)))))) + + (path-info (append (list :move (first (the outline-points))) + (mapcan #'(lambda(point) (list :line point)) + (rest (the outline-points))) + (list :line (first (the outline-points))))) + + (outline-points (ecase (the style) + ((:wedge :double-wedge :triangle) + (when (eql (the style) :triangle) + (warn "*** ~%~%Triangle not yet supported~%~%")) + (list (the center) + (translate (the (vertex :front :right :top)) + :front (half (the length))) + (translate (the center) :front + (* (the length) (- 1 (the wedge-ratio)))) + (translate (the (vertex :front :left :top)) + :front (half (the length))))))) + + + (second-outline-points (when (member (the style) (list :double-wedge)) + (mapcar #'(lambda(point) + (translate point :front (* (the length) + (- 1 (the wedge-ratio))))) + (the outline-points)))))) + + ;; ;; FLAG -- update for auto-scaling outside base-view ;;