Search found 3971 matches

by mario52
Thu Aug 11, 2022 8:53 pm
Forum: Open discussion
Topic: Finding an Angle via a spreadsheet formula
Replies: 4
Views: 234

Re: Finding an Angle via a spreadsheet formula

Hi angle given 2 Vectors (paste in Python console) def angle2(vecteur_x1, vecteur_y1, vecteur_x2, vecteur_y2, modeTypeAngle): # calculation of the slope of a line using two vectors # If 'modeTypeAngle' = 1 then display in degrees else in radians global uniteAs try: deltaX = vecteur_x2 - vecteur_x1 d...
by mario52
Wed Aug 10, 2022 10:27 am
Forum: Forum français
Topic: ce que vous avez toujours voulu sans jamais avoir osé le demander
Replies: 25
Views: 1136

Re: ce que vous avez toujours voulu sans jamais avoir osé le demander

Bonjour
Forthman wrote: Tue Aug 09, 2022 9:35 pm
PS: les icônes dans la vue combinée ne changent pas ! je suis incapable de les changer
(je peux les changer mais ils ne sont pas sauvegardés)

mario
by mario52
Tue Aug 09, 2022 8:52 pm
Forum: Forum français
Topic: ce que vous avez toujours voulu sans jamais avoir osé le demander
Replies: 25
Views: 1136

Re: ce que vous avez toujours voulu sans jamais avoir osé le demander

Bonsoir pouvoir sélectionner une face dans la vue plan j'ai fait cette macro (barre d'outil) pas de bouton magique, sélectionnez une vue et cliquez le bouton de votre choix lancez la macro dans la page (la barre d'outils peut disparaître quand vous changez d'atelier , if faudra la réactiver) la vue ...
by mario52
Tue Aug 09, 2022 7:42 pm
Forum: Open discussion
Topic: Attributing FreeCAD in workbench
Replies: 35
Views: 1170

Re: Attributing FreeCAD in workbench

hi

see Licence

mario
by mario52
Tue Aug 09, 2022 6:57 pm
Forum: Help on using FreeCAD
Topic: Crasting zig-yag line. Is there simple way?
Replies: 14
Views: 523

Re: Crasting zig-yag line. Is there simple way?

Hi

see macro Repeating pattern on a cylinder (center on point)

Image

and Hirth joint (center on line)

Image

mario
by mario52
Tue Aug 09, 2022 10:48 am
Forum: Help on using FreeCAD
Topic: FCInfo problem with Datum Lines ?
Replies: 2
Views: 300

Re: FCInfo problem with Datum Lines ?

Hi manos thanks for report

Thanks NewJoker

yes my macro not work with the Datum plane, point, line

datum line give infinite line example : TechDraw View failing with visible DatumLine

i see for adapt

mario
by mario52
Tue Aug 09, 2022 9:50 am
Forum: Help on using FreeCAD
Topic: WebTools error Python "No module named `requests`"
Replies: 4
Views: 350

Re: WebTools error Python "No module named `requests`"

Hi run with OS: Windows 10 (10.0) Word size of FreeCAD: 64-bit Version: 0.21.29485 (Git) Build type: Release Branch: master Hash: a236ca843fdd6674afb6d7ed1454fbd3b547f5ea Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3 try install https://pypi.org/project/requests/ but i don't remember if...
by mario52
Sun Aug 07, 2022 9:21 pm
Forum: Help on using FreeCAD
Topic: WebTools error Python "No module named `requests`"
Replies: 4
Views: 350

Re: WebTools error Python "No module named `requests`"

Hi

try :

Code: Select all

import WebGui
import urllib
from urllib import request
contentPage = request.urlopen(u"https://wiki.freecadweb.org/Macro_Rotate_View").readlines()
mario
by mario52
Fri Aug 05, 2022 8:45 am
Forum: Python scripting and macros
Topic: [Solved] Get line endpoint
Replies: 2
Views: 241

Re: Get line endpoint

Hi

similar : Macro_Line_Length

this macro print(x2," ",y2," ",z2)

mario
by mario52
Thu Aug 04, 2022 5:17 pm
Forum: Open discussion
Topic: Set other Axes convention / Coordinate system
Replies: 7
Views: 459

Re: Set other Axes convention / Coordinate system

Hi

why not make your own menu view ?

bambuko user example : cube menu addon, please

mario