Skip to content

Commit

Permalink
Merge pull request #57 from florianwns/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
florianwns authored Mar 21, 2024
2 parents da2b173 + f2a0a50 commit 6ab6f0f
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 122 deletions.
17 changes: 12 additions & 5 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# TODO-LIST

* [ ] Option pour ajouter une semelle ou projeter les dernières pièces au sol

* [ ] Construire le sol à partir de la semelle
des points des faces et le considérer comme la dernière pièce des faces

* [ ] Ajouter l'angle diedre au niveau du dessing des faces avec les timbers profiles

* [ ] Dessiner les faces avec les timbers profiles pour mieux comprendre le schéma de montage
Expand All @@ -17,6 +12,18 @@

* [ ] Ajouter les languettes pour l'origami, et coller les pointes du zome.

* [ ] Ajouter les labels et angles sur la 3D grace au canvastexture

https://threejs.org/docs/#api/en/textures/CanvasTexture

const cv = document.createElement( 'canvas' );
cv.width = 1536 // 3 * 512 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
cv.height = 512;// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
const ctx = cv.getContext( '2d' );

const txtGeometry = new THREE.BoxGeometry( 2.4, 0.8, 0.1 ); // w 3 : h 1 // <<<<<<<<<
const cvTexture = new THREE.Texture( cv );

* [ ] Mettre à jour les autres traductions avec les termes manquants

* Commencer à dessiner la premier polygone (vue de dessus)
Expand Down
4 changes: 3 additions & 1 deletion i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ const I18N_EN = {
tooltip_split_drawing: "Split the drawing into multiple A4 sheets for export to PDF",

// Options
opt_none: "none",
opt_none: "None",
opt_horizontal: "Horizontal",
opt_vertical: "Vertical",
opt_footing: "Footing",

// Help
help_shape: "The shape of a zome is determined by :",
Expand All @@ -65,6 +66,7 @@ const I18N_EN = {
help_am_param_3: "Assembly direction : Clockwise, Counterclockwise or Symmetry Axis (SemiCone)",
help_vp_param: "Height of vanishing point (used to build 'GoodKarma' and 'Beveled' methods)",
help_zc_param: "Place the vanishing point at the centroid of the entire zome",
help_ft_param: "Add a footing based on the half of timber width",

// Keyboard shortcuts
key_H_3D_view: "Reset camera view",
Expand Down
Loading

0 comments on commit 6ab6f0f

Please sign in to comment.