Outils pour utilisateurs

Outils du site


issue190:tutoriel2

Welcome back! Ok, I need you to create a new project, a new body, a new sketch, add a centered rectangle, and stop there in the Sketcher workbench. Let’s look at getting this piece locked in place and adding (or removing) some bits. If you look in the left panel, you’ll see a bit that says ‘2 DoF(s)’. This means two things aren’t locked in place. Not the end of the world, but it means items could move and mess things up later. You can click the ‘2 DoF(s)’ link and it’ll show you what’s not locked, but I can tell you that it’s all four corner points. In other words: we can move all four sides. The middle is locked in place as we did that by choosing to make the rectangle from the middle point outwards. So, left-click on the top edge of the rectangle and it’ll change to green. Now left-click the Constrain horizontal distance icon. This will give us a popup that’ll let us lock that size in place.

Bienvenue à nouveau ! Ok, j'ai besoin que vous créiez un nouveau projet, un nouveau corps, un nouveau croquis, que vous ajoutiez un rectangle centré, et que vous vous arrêtiez là dans l'atelier Sketcher.

Voyons comment mettre cette pièce en place et ajouter (ou enlever) quelques éléments.

Si vous regardez dans le panneau de gauche, vous verrez un élément indiquant « 2 DoF(s) ». Cela signifie que deux choses ne sont pas verrouillées en place. Ce n'est pas la fin du monde, mais cela signifie que des éléments pourraient bouger et tout gâcher plus tard.

Vous pouvez cliquer sur le lien « 2 DoF(s) » et cela vous montrera ce qui n'est pas verrouillé, mais je peux vous dire que ce sont les quatre points d'angle. En d'autres termes : nous pouvons déplacer les quatre côtés. Le milieu est verrouillé en place, car nous avons choisi de faire le rectangle à partir du point central vers l'extérieur.

Alors, cliquez avec le bouton gauche de la souris sur le bord supérieur du rectangle et il devient vert. Maintenant, faites un clic gauche sur l'icône Contrainte de distance horizontale. Une fenêtre contextuelle s'affiche pour nous permettre de verrouiller cette taille en place.

I’m going for 40mm. You’ll see that we now have a size on our drawing. Let’s do the same for the left or right side, but choose the vertical icon beside the horizontal and make it 30mm. Lovely. Now you’ll notice the whole thing is green. This is because it is locked in place and can’t be moved by accident. The left panel also says ‘fully constrained’. I’m not keen on the 30mm text being on the inside though. You can click and drag on it to move it outside the box. I prefer that. Now, you could close that and go back to the Part design workbench, and pad it, but let’s add some circles inside it. We’ll think of those as screw holes for now. Click the Create circle icon. Same as the rectangle, we'll need two clicks to draw the circle. One in the center and one on the outside edge. So, make two circles inside the rectangle. I’ll put one to- left and one bottom-right. Don’t forget to right-click (or Esc) to come out of creating circles mode.

J'opte pour 40 mm.

Vous verrez que nous avons maintenant une taille sur notre dessin.

Faisons la même chose pour le côté gauche ou droit, mais choisissez l'icône verticale à côté de l'horizontale et choisissez 30 mm.

Très bien. Vous remarquerez maintenant que le tout est vert. C'est parce qu'il est verrouillé en place et ne peut pas être déplacé par accident. Le panneau de gauche indique également « entièrement contrainte ».

Je n'aime pas trop que le texte de 30 mm soit à l'intérieur. Vous pouvez faire un cliquer/déplacer dessus pour le mettre à l'extérieur de la boîte. Je préfère cela.

Maintenant, nous pourrions fermer tout ça et revenir sur l'atelier Part Design, pour lui donner une épaisseur. Mais restons sur Sketcher et ajoutons des cercles à l'intérieur. Pour l'instant, nous allons les considérer comme des trous de vis.

Cliquez sur l'icône Créer un cercle.

Comme pour le rectangle, nous avons besoin de deux clics pour dessiner le cercle. Un au centre et un sur le bord extérieur. Faites deux cercles à l'intérieur du rectangle. Je vais en mettre un en haut à gauche et un en bas à droite. N'oubliez pas de faire un clic droit (ou Esc) pour sortir du mode de création de cercles.

If you need to move the circles, you click and drag on the center point. You can click and drag on the circle outline to resize it. Let’s lock a size in for these circles. Click the outline and choose the Constrain arc or circle icon. This is currently set for diameter, but you can click the down-arrow and choose to make it a radius if you like. I’ll make it 6mm. I need the other one to be the same. So click the outline of the 6mm one we just did, hold down the CTRL key, and click the other circle. Now click the Constrain equal icon. It looks like a big red equals sign (=). Voila! The two circles are the same. If you double-click the 06mm label on the top-right one, you can change it, and it’ll change them both. Try it. Set the top-left circle to 5mm. We need to constrain these to make sure they’re in the right place. Click on the center point for the circle top-left. Hold down CTRL. Click the top-left corner of the rectangle and choose the horizontal constraint (like we did with the rectangle sides). Let’s go with 8mm. Select the same two points and choose vertical constraints and choose 8mm again. I’ll let you figure out how to do the other circle.

Si vous devez déplacer les cercles, vous cliquez sur, et faites glisser, le point central. Vous pouvez cliquer sur le contour du cercle et le faire glisser pour le redimensionner.

Fixons une taille pour ces cercles. Cliquez sur le contour et choisissez l'icône Contrainte d'arc ou de cercle. Le diamètre est actuellement défini, mais vous pouvez cliquer sur la flèche vers le bas et choisir un rayon si vous le souhaitez. Je vais choisir 6 mm. J'ai besoin que l'autre soit identique. Cliquez donc sur le contour du cercle de 6 mm que nous venons de créer, maintenez la touche CTRL enfoncée et cliquez sur l'autre cercle. Cliquez maintenant sur l'icône Contrainte égale. Elle ressemble à un grand signe d'égalité rouge (=). Et voilà ! Les deux cercles sont identiques.

Si vous double-cliquez sur l'étiquette 06 mm du cercle en haut à droite, vous pouvez la modifier, et cela les modifiera tous les deux. Essayez. Redimensionnez le cercle en haut à gauche à 5 mm.

Nous devons les contraindre pour nous assurer qu'ils sont au bon endroit. Cliquez sur le point central du cercle en haut à gauche. Maintenez la touche CTRL enfoncée. Cliquez sur le coin supérieur gauche du rectangle et choisissez la contrainte horizontale (comme nous l'avons fait pour les côtés du rectangle). Choisissons 8 mm. Sélectionnez les deux mêmes points, choisissez les contraintes verticales et choisissez à nouveau 8 mm.

Je vous laisse trouver comment faire l'autre cercle.

So now our drawing is green and all locked down. Again, like last time, click Close in the left panel. This time, though, look at the top icons in the Part design workbench. See the yellow and red ones? Well, yellow means add, red means remove. That first one with the yellow box is the pad icon. It does the exact same as we did last time. Click the pad icon and make it 2mm this time. If you want to marvel at your creation you can use the middle mouse button (or scroll wheel held down) to move the model about. Hold both middle and right buttons to rotate. On the left panel, click the right-arrow beside Pad. This will show a greyed out Sketch below it. Double-click the Sketch to go back into it. Feel free to add another two holes to either corner of the rectangle to give four holes. We’ll start with that four hole plate next time.

Notre dessin est maintenant vert et tout est verrouillé. Comme la dernière fois, dans le panneau de gauche, cliquez sur Fermer.

Cette fois-ci, cependant, regardez les icônes supérieures dans l'atelier Part Design. Vous voyez les icônes jaune et rouge ?

Eh bien, jaune signifie ajouter, rouge signifie supprimer. La première icône avec la boîte jaune est l'icône de protusion. Elle fait exactement la même chose que la dernière fois. Cliquez sur l'icône de protusion et choisissez 2 mm.

Si vous voulez vous émerveiller devant votre création, vous pouvez utiliser le bouton central de la souris (ou la molette de défilement maintenue enfoncée) pour déplacer le modèle. Maintenez les boutons du milieu et de droite enfoncés pour faire pivoter le modèle.

Dans le panneau de gauche, cliquez sur la flèche droite à côté de Protusion. Une esquisse grisée apparaît alors en dessous. Double-cliquez sur l'esquisse pour y revenir.

N'hésitez pas à ajouter deux autres trous à chaque coin du rectangle pour obtenir quatre trous. Nous commencerons par cette plaque à quatre trous la prochaine fois.

issue190/tutoriel2.txt · Dernière modification : 2023/02/28 14:13 de auntiee