Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/yuminghuang1995/RL3DPToolpathPlanner
15 April 2025, 06:47:10 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • 7e7d097
  • /
  • main.py
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:1bd718514b37e242f21a5e7e20a142030f577e75
origin badgedirectory badge
swh:1:dir:7e7d0976cb84dfac80530dc9db150561cf9ef388
origin badgerevision badge
swh:1:rev:b8704633dab0de26d0d81291c9e46a57f19d2cb5
origin badgesnapshot badge
swh:1:snp:127c589bbb43a926c129e29c25a3793468ce12dd

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: b8704633dab0de26d0d81291c9e46a57f19d2cb5 authored by yuminghuang1995 on 13 April 2025, 12:43:55 UTC
Update README.md
Tip revision: b870463
main.py
import numpy as np
import os
import sys
import argparse
from main_gamma import process_block

os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
sys.setrecursionlimit(20000)

np.set_printoptions(suppress=True, threshold=100)


def determine_printing_mode(env_name_):
    if '_' in env_name_:
        mode = env_name_.split('_')[1]
        if mode in ['CCF', 'wireframe', 'metal']:
            return mode
    return 'wireframe'


if __name__ == '__main__':
    parser = argparse.ArgumentParser(description='Process 3D printing parameters.')
    parser.add_argument('--model', type=str, required=True,
                        help="Choose from Bearing_CCF, Gear_CCF, Shell_CCF, "
                             "Bunny_wireframe, Coral_wireframe, Duck_wireframe, "
                             "Cat_wireframe, Femur_wireframe, Molar_wireframe, Lounge_wireframe, "
                             "Bracket_metal, Hook_metal, Femur_metal")

    args = parser.parse_args()
    env_name = args.model
    printing_mode = determine_printing_mode(env_name)
    process_block(env_name, printing_mode)

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API