- package: tis-brl-cad
- name: BRL-CAD
- version: 7.40.0-1
- categories: CAD
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- editor: Army Research Laboratory
- licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_private
- locale: all
- target_os: windows
- impacted_process: mged
- architecture: x64
- signature_date:
- size: 92.59 Mo
- installed_size: 91.01 Mo
- homepage : https://brlcad.org/
package : tis-brl-cad
version : 7.40.0-1
architecture : x64
section : base
priority : optional
name : BRL-CAD
categories : CAD
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : BRL-CAD is a source cross-platform solid modeling system that includes interactive geometry editing,ray-tracing for rendering and geometric analysis
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 91011524
impacted_process : mged
description_fr : BRL-CAD est un système de modélisation solide multiplateforme qui comprend l'édition interactive de la géométrie, le ray-tracing pour le rendu et l'analyse géométrique
description_pl : BRL-CAD to wieloplatformowy system modelowania bryłowego, który obejmuje interaktywną edycję geometrii, śledzenie promieni do renderowania i analizy geometrycznej
description_de : BRL-CAD ist ein plattformübergreifendes Volumenmodellierungssystem, das interaktive Geometriebearbeitung, Raytracing für Rendering und geometrische Analyse umfasst
description_es : BRL-CAD es un sistema de modelado de sólidos multiplataforma que incluye edición interactiva de geometría, trazado de rayos para renderizado y análisis geométrico
description_pt : O BRL-CAD é um sistema de modelação de sólidos multiplataforma que inclui edição de geometria interactiva, ray-tracing para renderização e análise geométrica
description_it : BRL-CAD è un sistema di modellazione solida multipiattaforma che include l'editing interattivo della geometria, il ray-tracing per il rendering e l'analisi geometrica
description_nl : BRL-CAD is een broncode cross-platform solid modeling systeem dat interactieve geometriebewerking, ray-tracing voor rendering en geometrische analyse bevat
description_ru : BRL-CAD - это кроссплатформенная система твердотельного моделирования с исходным кодом, включающая интерактивное редактирование геометрии, трассировку лучей для рендеринга и геометрического анализа
audit_schedule :
editor : Army Research Laboratory
keywords : cad,modeling,raytrace
licence : opensource_free,cpe:/a:gnu:gpl_v3,wapt_private
homepage : https://brlcad.org/
package_uuid : 2ff36896-3b9e-4885-827a-98ff055190e4
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/BRL-CAD/brlcad/releases
min_os_version :
max_os_version :
icon_sha256sum : 90ccf48680c015fed1e93c137085a1f86c61e06b7c27ef34e1ff44293325774b
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : yktKl7kCV4pH1iw+kJi5Pi310PtWzeGNj6Hm9sdpffRUdJB8JtsyO0IZnPCH8FWQ7mdswgIS8+Xn6F1HiIBHlywpn0Ne7ihTCBZM8vYLmaRVP6gDXf5XtsFxsoyNmpEFariFnV+U9jPpP3dqA9q5tPVc5XXO5rhN4GW5xtOWeeU05jONp6cveUrhBIOYdYZFz/f1V47b5Wg4D+hT73Fj+YdtDCmOaajUOaMevo8DLRO86Pc4KJrtW2Vs0z+8axWf8X5JmvKtoMYeZ0myy7/J6dMgqM51xDtPqOFLzPEOf1yWC4CTq+tyThtcUxjkEbjHYYAWleQMuW1oInNZFqi4xQ==
signature_date : 2024-08-24T10:02:07.186395
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Uninstalling older version
for to_uninstall in installed_softwares("BRL-CAD "):
if Version(to_uninstall["version"]) < Version(control.get_software_version()) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
bin_name = glob.glob("BRL-CAD_*_win64.exe")[0]
version = control.get_software_version()
# Installing the software
install_exe_if_needed(bin_name, silentflags="/allusers /S", key=f"BRL-CAD {version} win64", min_version=control.get_software_version())
version = control.get_software_version()
remove_programs_menu_shortcut("BRL-CAD")
create_programs_menu_shortcut("BRL CAD", target=makepath(programfiles, f"BRL-CAD {version}", "bin", "mged.exe"))
def uninstall():
remove_programs_menu_shortcut("BRL CAD")
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
update_dict = {"windows": ".exe"}
api_url = "https://api.github.com/repos/BRL-CAD/brlcad/releases/latest"
# Get data from API
releases_dict = json.loads(wgets(api_url, proxies=proxies))
exe_found = False # Flag pour indiquer la découverte d'un fichier .exe
for release in releases_dict:
if exe_found:
break
for asset in releases_dict["assets"]:
if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
url_download = asset["browser_download_url"]
latest_bin = url_download.split("/")[-1]
version = releases_dict["name"].split(" ")[1]
exe_found = True # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
break
# Deleting binaries
for f in glob.glob("*.exe"):
if f != latest_bin:
remove_file(f)
# Downloading latest binaries
print("Download URL is: %s" % url_download)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_download, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
control.set_software_version(version)
control.save_control_to_wapt()
f977ad3059664395fabd7855f74e28a73975eb89c3db5292e796ef6facbba95f : setup.py
dc8ead0c0a2f9aadc44fddc784f6ac9dcdbd7f511669e17463bdb13bb2918ae8 : update_package.py
90ccf48680c015fed1e93c137085a1f86c61e06b7c27ef34e1ff44293325774b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
3488334eb55638af0e415fa08f346edeeb71d3edf0d6b9edada15d076a956852 : luti.json
ca49da82ca91ef6781a5ccf7b027b563e64c36338201233621f455ce207a988c : BRL-CAD_7.40.0_win64.exe
d2090d3d764ce5d3db1d13921645d4772db0dee97f13f2fbbe6e4180e09b842d : WAPT/control