Skip to content

Commit 3d0cebc

Browse files
committed
v1.0.6
1 parent 6c1389c commit 3d0cebc

File tree

289 files changed

+680032
-56
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+680032
-56
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@
1616
*.nav
1717
*.snm
1818
*.vrb
19+
*.idx
20+
*.ilg
21+
*.ind
22+
*.listing
23+
*.ist
1924
##FOLDERS
2025
testBiblio/

.vscode/asymptote.json

Lines changed: 103 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,56 @@
189189
"axis"
190190
],
191191
"body": [
192-
"showAxis(${1:basis}, ${2:tabAxis}, ${3:point}, ${4:coeff}, ${5:style=black+0.25}) ;"
192+
"showAxis(${1:basis}, ${2:tabAxis}, ${3:point}, ${4:coeff=1}, ${5:style=black+0.25}) ;"
193193
],
194194
"description": "Représentation d'axe indiqué par un tableau 0,1,2"
195195
},
196-
"showParameter": {
196+
"showAxisName": {
197197
"prefix": [
198-
"showParameter",
198+
"showAxisName",
199199
"show",
200-
"parameter"
200+
"axis","name"
201201
],
202202
"body": [
203-
"showParameter(${1:point}, ${2:axis1}, ${3:axis2}, ${4:stringName}, ${5:coeff=1}, ${6:style=black+0.25}) ;"
203+
"showAxisName(${1:axis}, ${2:point}, ${3:name}, ${4:coeff=1}, ${5:style=black+0.25}) ;"
204+
],
205+
"description": "Représentation d'axe indiqué par un tableau 0,1,2"
206+
},
207+
"showParamAng": {
208+
"prefix": [
209+
"showParamAng",
210+
"show",
211+
"parameter",
212+
"angular"
213+
],
214+
"body": [
215+
"showParamAng(${1:point}, ${2:axis1}, ${3:axis2}, ${4:stringName}, ${5:coeff=1}, ${6:style=black+0.25}) ;"
204216
],
205217
"description": "Représentation d'un paramètre angulaire'"
206218
},
219+
"showParamLin": {
220+
"prefix": [
221+
"showParamLin",
222+
"show",
223+
"parameter",
224+
"linear"
225+
],
226+
"body": [
227+
"showParamLin(${1:pointStart}, ${2:pointEnd}, ${3:dirDimLine}, ${4:dirExtLine}, ${5:name}, ${6:offset=1}, ${7:pos=1*N}, ${8:style=black+0.25}) ;"
228+
],
229+
"description": "Représentation d'un paramètre linéaire'"
230+
},
231+
"showDimension": {
232+
"prefix": [
233+
"showDimension",
234+
"show",
235+
"dimension"
236+
],
237+
"body": [
238+
"showDimension(${1:pointStart}, ${2:pointEnd}, ${3:dirDimLine}, ${4:dirExtLine}, ${5:name}, ${6:offset=1}, ${7:pos=1*N}, ${8:style=black+0.25}, ${9:posDim='middle'}) ;"
239+
],
240+
"description": "Représentation d'une cote'"
241+
},
207242
"namePoint": {
208243
"prefix": [
209244
"namePoint",
@@ -308,6 +343,18 @@
308343
],
309344
"description": "ajout surface conique tronquee."
310345
},
346+
"addSurfPlane": {
347+
"prefix": [
348+
"addSurfPlane",
349+
"plane",
350+
"plan",
351+
"surface"
352+
],
353+
"body": [
354+
"addSurfPlane(${1:center}, ${2:axe1}, ${3:cote1}, ${4:axe2}, ${5:cote2}, ${6:CEC}) ;"
355+
],
356+
"description": "ajout surface plane par point milieu."
357+
},
311358
"transChaine": {
312359
"prefix": [
313360
"transChaine",
@@ -348,7 +395,58 @@
348395
"addSurfCylinder(${1:centre}, ${2:axis}, ${3:r}, ${4:L}, ${5:CEC}) ;"
349396
],
350397
"description": "ajout Ushape."
398+
},
399+
"addArrowText ": {
400+
"prefix": [
401+
"addArrowText ",
402+
"add","arrow","text",
403+
],
404+
"body": [
405+
"addArrowText(${1:startPoint}, ${2:endPoint}, ${3:name}, ${4:posText=0.5}, ${5:pos = 1*N}, ${6:style = black+0.25}) ;"
406+
],
407+
"description": "ajout flèche avec texte."
408+
},
409+
"addText ": {
410+
"prefix": [
411+
"addText ",
412+
"add","text",
413+
],
414+
"body": [
415+
"addText(${1:label}, ${2:point}, ${3:pos = 1*N}, ${4:style = black}) ;"
416+
],
417+
"description": "ajout texte."
418+
},
419+
"importSTL ": {
420+
"prefix": [
421+
"importSTL ",
422+
"STL","import"
423+
],
424+
"body": [
425+
"importSTL(${1:name}, ${2:center}, ${3:exSTL}, ${4:eySTL}, ${5:scaleSTL}, ${6:CEC}) ;"
426+
],
427+
"description": "ajout Ushape."
428+
},
429+
"addSpring ": {
430+
"prefix": [
431+
"addSpring ",
432+
"spring","ressort",
433+
],
434+
"body": [
435+
"addSpring(${1:pointA}, ${2:pointB}, ${3:N=8}) ;"
436+
],
437+
"description": "ajout ressort."
438+
},
439+
"createBasis ": {
440+
"prefix": [
441+
"createBasis ",
442+
"create","base","basis",
443+
],
444+
"body": [
445+
"createBasis(${1:number}, ${2:x}, ${3:y}) ;"
446+
],
447+
"description": "création base par deux vecteurs x et y."
351448
}
449+
352450

353451

354452

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [v1.0.6] - 2024-08-01
4+
### Fixed
5+
- bielle manivelle : linear parameter didn't display on 3d
6+
### Changed
7+
- the installation section of the documentation has been rewritten
8+
- documentation : new features, typographical errors, and insertion of a commands Index
9+
### Added
10+
- new examples : jointCardan, piloteSafran, limiteurCouple
11+
- new features : showParamLin, showParamAng, showDimension, addSurfPlane, importSTL, addArrowText, addText, showAxisName, createBasis
12+
13+
314
## [v1.0.5] - 2024-06-28
415
### Changed
516
- the installation section of the documentation has been rewritten

documentation/documentation.pdf

360 KB
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,1,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
11+
addArrowText((-0.75, 0.25, 0), (1.25, 0.25, 0), "$\vec{F}$", style = blue+0.25) ;
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,0,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
addArrowText((-0.75, 0.25, 0), (1.25, 0.25, 0), "$\vec{F}$", style = blue+0.25) ;
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,0,0) ;
7+
triple up = (0,0,1) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
addArrowText((-0.75, 0.25, 0), (1.25, 0.25, 0), "$\vec{F}$", style = blue+0.25) ;
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,1,0) ;
7+
triple up = (1,0,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
addArrowText((-0.75, 0.25, 0), (1.25, 0.25, 0), "$\vec{F}$", style = blue+0.25) ;
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,1,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
11+
basis b1 = rotationBasis(1, b0, 20, 'y', b0.y) ;
12+
addSurfPlane((-0.25, 0.25,0.1), b0.x, 1.5, b0.y, 1, blue) ;
13+
addSurfPlane((0.25, -0.25,-0.1), b1.x, 1, b1.y, 1.5, red) ;
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,0,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
basis b1 = rotationBasis(1, b0, 20, 'y', b0.y) ;
13+
addSurfPlane((-0.25, 0.25,0.1), b0.x, 1.5, b0.y, 1, blue) ;
14+
addSurfPlane((0.25, -0.25,-0.1), b1.x, 1, b1.y, 1.5, red) ;
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,0,0) ;
7+
triple up = (0,0,1) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
basis b1 = rotationBasis(1, b0, 20, 'y', b0.y) ;
13+
addSurfPlane((-0.25, 0.25,0.1), b0.x, 1.5, b0.y, 1, blue) ;
14+
addSurfPlane((0.25, -0.25,-0.1), b1.x, 1, b1.y, 1.5, red) ;
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,1,0) ;
7+
triple up = (1,0,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
basis b1 = rotationBasis(1, b0, 20, 'y', b0.y) ;
13+
addSurfPlane((-0.25, 0.25,0.1), b0.x, 1.5, b0.y, 1, blue) ;
14+
addSurfPlane((0.25, -0.25,-0.1), b1.x, 1, b1.y, 1.5, red) ;
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,1,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
11+
link((-0.9,-0.8,-0.7) -- O -- O+b0.x -- O+b0.x+b0.y, blue) ;
12+
addText("Text", O+b0.x, pos=1.5*NW, style=blue) ;
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,0,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
link((-0.9,-0.8,-0.7) -- O -- O+b0.x -- O+b0.x+b0.y, blue) ;
13+
addText("Text", O+b0.x, pos=1.5*NW, style=blue) ;
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,0,0) ;
7+
triple up = (0,0,1) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
link((-0.9,-0.8,-0.7) -- O -- O+b0.x -- O+b0.x+b0.y, blue) ;
13+
addText("Text", O+b0.x, pos=1.5*NW, style=blue) ;
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,1,0) ;
7+
triple up = (1,0,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
link((-0.9,-0.8,-0.7) -- O -- O+b0.x -- O+b0.x+b0.y, blue) ;
13+
addText("Text", O+b0.x, pos=1.5*NW, style=blue) ;
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,1,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
11+
importSTL('saf.stl', (-0.25,0,0), -b0.z, b0.x, 0.5, deepgreen) ;
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (0,0,1) ;
7+
triple up = (0,1,0) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
importSTL('saf.stl', (-0.25,0,0), -b0.z, b0.x, 0.5, deepgreen) ;
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
settings.render = -4 ;
2+
settings.prc = false ;
3+
import biblioLiaisons ;
4+
defaultpen(fontsize(10pt)) ;
5+
unitsize(1cm) ;
6+
triple eye = (1,0,0) ;
7+
triple up = (0,0,1) ;
8+
currentprojection = orthographic(eye, up, O) ;
9+
currentlight = nolight ;
10+
simpleCubeBounding(1.5) ;
11+
showBasis(b0, O, coeff=1.5*(1,1,1)) ;
12+
importSTL('saf.stl', (-0.25,0,0), -b0.z, b0.x, 0.5, deepgreen) ;
Binary file not shown.

0 commit comments

Comments
 (0)