diff --git a/TODO.md b/TODO.md index 06c0af5..69f947b 100644 --- a/TODO.md +++ b/TODO.md @@ -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 @@ -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) diff --git a/i18n/en.js b/i18n/en.js index 3a9a8e7..9859b88 100644 --- a/i18n/en.js +++ b/i18n/en.js @@ -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 :", @@ -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", diff --git a/index.html b/index.html index 631dac8..63b7733 100755 --- a/index.html +++ b/index.html @@ -289,7 +289,7 @@