IP Library Granted Patent US 12,487,565
Granted Patent B2
US 12,487,565 · App. 18/240,703 · Granted Dec 2, 2025

Toolpath generation by reinforcement learning for computer aided manufacturing

Inventors: David Patrick Lovell (Moseley, GB); Akmal Ariff Bin Abu Bakar (London, GB); Saaras Mehan (West Bridgford, GB)
Assignee: Autodesk, Inc.
G05B13/027G05B19/4097G06F30/10G06F30/27G06N3/045G05B2219/35134G05B2219/35167
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,487,565
App. No.
18/240,703
Granted
Dec 2, 2025
Kind
B2
Abstract

Methods, systems, and apparatus, including medium-encoded computer program products, for computer aided design and manufacture of physical structures using toolpaths generated by reinforcement learning for use with subtractive manufacturing systems and techniques, include: obtaining, in a computer aided design or manufacturing program, a three dimensional model of a manufacturable object; generating toolpaths that are usable by a computer-controlled manufacturing system to manufacture at least a portion of the manufacturable object by providing at least a portion of the three dimensional model to a machine learning algorithm that employs reinforcement learning, wherein the machine learning algorithm includes one or more scoring functions that include rewards that correlate with desired toolpath characteristics comprising toolpath smoothness, toolpath length, and avoiding collision with the three dimensional model; and providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object.

Claims (78)

1 . A system comprising:

a data processing apparatus including at least one hardware processor; and

a non-transitory computer-readable medium encoding instructions configured to cause the data processing apparatus to perform operations comprising:

obtaining a three dimensional model of a manufacturable object;

generating toolpaths that are usable by a computer-controlled manufacturing system to manufacture at least a portion of the manufacturable object by providing at least a portion of the three dimensional model to two or more machine learning algorithms, wherein the generating comprises

generating data comprising image feature data or at least one starting position for the toolpaths by processing the portion of the three dimensional model with a first of the two or more machine learning algorithms, the image feature data or the at least one starting position being input for creation of the toolpaths, and

generating the toolpaths by processing the data comprising the image feature data or the at least one starting position for the toolpaths with a second of the two or more machine learning algorithms, wherein at least the second of the two or more machine learning algorithms employs reinforcement learning including one or more scoring functions that include rewards that correlate with one or more desired toolpath characteristics, and the second of the two or more machine learning algorithms is different from the first of the two or more machine learning algorithms; and

providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object.

2 . The system of claim 1 , wherein the generating comprises:

processing a global view of the portion of the three dimensional model with the first of the two or more machine learning algorithms to generate the data comprising the at least one starting position for the toolpaths; and

processing a local view of the portion of the three dimensional model at least around each of the at least one starting position with the second of the two or more machine learning algorithms to generate the toolpaths near each of the at least one starting position.

3 . The system of claim 2 , wherein the global view comprises a low resolution representation of at least the portion of the three dimensional model, and the local view comprises a high resolution representation of the portion of the three dimensional model at least around each of the at least one starting position.

4 . The system of claim 1 , wherein the first of the two or more machine learning algorithms comprises a convolutional neural network, and the data comprises the image feature data extracted by the convolutional neural network from one or more images representing one or more two dimensional cross sections of at least the portion of the three dimensional model.

5 . The system of claim 1 , wherein the operations further comprise:

defining the one or more scoring functions that include the rewards that correlate with the one or more desired toolpath characteristics;

receiving a plurality of training examples, each training example comprising example tools and example environments; and

training the second of the two or more machine learning algorithms that employs reinforcement learning using the training examples to generate toolpaths that maximize one or more values generated by the one or more scoring functions.

6 . The system of claim 1 , wherein the two or more machine learning algorithms generate the toolpaths comprising an angle for a cutter used by the computer-controlled manufacturing system.

7 . The system of claim 1 , wherein the second of the two or more machine learning algorithms generates a series of locations for a tool used by the computer-controlled manufacturing system, the toolpaths comprise one or more splines that connect the series of locations for the tool, and providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object comprises providing the one or more splines to control the tool to travel through the series of locations in a smooth route following the one or more splines.

8 . The system of claim 1 , wherein the second of the two or more machine learning algorithms operates in a three dimensional environment and uses a three dimensional representation of a tool used by the computer-controlled manufacturing system.

9 . The system of claim 1 , wherein the one or more desired toolpath characteristics comprise a desired side of a tool in the toolpaths.

10 . The system of claim 1 , wherein the one or more desired toolpath characteristics comprise rotation characteristics of a tool.

11 . The system of claim 1 , wherein the one or more desired toolpath characteristics comprise tool engagement for a selected cutting tool.

12 . The system of claim 1 , wherein the second of the two or more machine learning algorithms employs a percentage of cutter used.

13 . The system of claim 1 , wherein the system comprises the computer-controlled manufacturing system.

14 . The system of claim 13 , wherein the computer-controlled manufacturing system is a multi-axis, multi-tool milling machine.

15 . The system of claim 1 , wherein the two or more machine learning algorithms are trained to generate toolpaths for 2.5-axis machining.

16 . The system of claim 15 , wherein the three dimensional model is obtained using a generative design software that generates the three dimensional model including a plurality of discrete layers.

17 . A non-transitory computer-readable medium encoding instructions operable to cause a data processing apparatus to perform operations comprising:

obtaining a three dimensional model of a manufacturable object;

generating toolpaths that are usable by a computer-controlled manufacturing system to manufacture at least a portion of the manufacturable object by providing at least a portion of the three dimensional model to two or more machine learning algorithms, wherein the generating comprises

generating data comprising image feature data or at least one starting position for the toolpaths by processing the portion of the three dimensional model with a first of the two or more machine learning algorithms, the image feature data or the at least one starting position being input for creation of the toolpaths, and

generating the toolpaths by processing the data comprising the image feature data or the at least one starting position for the toolpaths with a second of the two or more machine learning algorithms, wherein at least the second of the two or more machine learning algorithms employs reinforcement learning including one or more scoring functions that include rewards that correlate with one or more desired toolpath characteristics, and the second of the two or more machine learning algorithms is different from the first of the two or more machine learning algorithms; and

providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object.

18 . The computer-readable medium of claim 17 , wherein the generating comprises:

processing a global view of the portion of the three dimensional model with the first of the two or more machine learning algorithms to generate the data comprising the at least one starting position for the toolpaths; and

processing a local view of the portion of the three dimensional model at least around each of the at least one starting position with the second of the two or more machine learning algorithms to generate the toolpaths near each of the at least one starting position.

19 . The computer-readable medium of claim 17 , wherein the first of the two or more machine learning algorithms comprises a convolutional neural network, and the data comprises the image feature data extracted by the convolutional neural network from one or more images representing one or more two dimensional cross sections of at least the portion of the three dimensional model.

20 . The computer-readable medium of claim 18 , wherein the global view comprises a low resolution representation of at least the portion of the three dimensional model, and the local view comprises a high resolution representation of the portion of the three dimensional model at least around each of the at least one starting position.

21 . The computer-readable medium of claim 17 , wherein the operations further comprise:

defining the one or more scoring functions that include the rewards that correlate with the one or more desired toolpath characteristics;

receiving a plurality of training examples, each training example comprising example tools and example environments; and

training the second of the two or more machine learning algorithms that employs reinforcement learning using the training examples to generate toolpaths that maximize one or more values generated by the one or more scoring functions.

22 . The computer-readable medium of claim 17 , wherein the two or more machine learning algorithms generate the toolpaths comprising an angle for a cutter used by the computer-controlled manufacturing system.

23 . The computer-readable medium of claim 17 , wherein the second of the two or more machine learning algorithms generates a series of locations for a tool used by the computer-controlled manufacturing system, the toolpaths comprise one or more splines that connect the series of locations for the tool, and providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object comprises providing the one or more splines to control the tool to travel through the series of locations in a smooth route following the one or more splines.

24 . The computer-readable medium of claim 17 , wherein the second of the two or more machine learning algorithms operates in a three dimensional environment and uses a three dimensional representation of a tool used by the computer-controlled manufacturing system.

25 . The computer-readable medium of claim 17 , wherein the one or more desired toolpath characteristics comprise a desired side of a tool in the toolpaths.

26 . The computer-readable medium of claim 17 , wherein the one or more desired toolpath characteristics comprise rotation characteristics of a tool.

27 . The computer-readable medium of claim 17 , wherein the one or more desired toolpath characteristics comprise tool engagement for a selected cutting tool.

28 . The computer-readable medium of claim 17 , wherein the second of the two or more machine learning algorithms employs a percentage of cutter used.

29 . The computer-readable medium of claim 17 , wherein the computer-controlled manufacturing system is a multi-axis, multi-tool milling machine.

30 . The computer-readable medium of claim 17 , wherein the two or more machine learning algorithms are trained to generate toolpaths for 2.5-axis machining.

31 . The computer-readable medium of claim 30 , wherein the three dimensional model is obtained using a generative design software that generates the three dimensional model including a plurality of discrete layers.

32 . A method comprising:

obtaining a three dimensional model of a manufacturable object;

generating toolpaths that are usable by a computer-controlled manufacturing system to manufacture at least a portion of the manufacturable object by providing at least a portion of the three dimensional model to two or more machine learning algorithms, wherein the generating comprises

generating data comprising image feature data or at least one starting position for the toolpaths by processing the portion of the three dimensional model with a first of the two or more machine learning algorithms, the image feature data or the at least one starting position being input for creation of the toolpaths, and

generating the toolpaths by processing the data comprising the image feature data or the at least one starting position for the toolpaths with a second of the two or more machine learning algorithms, wherein at least the second of the two or more machine learning algorithms employs reinforcement learning including one or more scoring functions that include rewards that correlate with one or more desired toolpath characteristics, and the second of the two or more machine learning algorithms is different from the first of the two or more machine learning algorithms; and

providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object.

33 . The method of claim 32 , wherein the generating comprises:

processing a global view of the portion of the three dimensional model with the first of the two or more machine learning algorithms to generate the data comprising the at least one starting position for the toolpaths; and

processing a local view of the portion of the three dimensional model at least around each of the at least one starting position with the second of the two or more machine learning algorithms to generate the toolpaths near each of the at least one starting position.

34 . The method of claim 33 , wherein the global view comprises a low resolution representation of at least the portion of the three dimensional model, and the local view comprises a high resolution representation of the portion of the three dimensional model at least around each of the at least one starting position.

35 . The method of claim 32 , wherein the first of the two or more machine learning algorithms comprises a convolutional neural network, and the data comprises the image feature data extracted by the convolutional neural network from one or more images representing one or more two dimensional cross sections of at least the portion of the three dimensional model.

36 . The method of claim 32 , further comprising:

defining the one or more scoring functions that include the rewards that correlate with the one or more desired toolpath characteristics;

receiving a plurality of training examples, each training example comprising example tools and example environments; and

training the second of the two or more machine learning algorithms that employs reinforcement learning using the training examples to generate toolpaths that maximize one or more values generated by the one or more scoring functions.

37 . The method of claim 32 , wherein the two or more machine learning algorithms generate the toolpaths comprising an angle for a cutter used by the computer-controlled manufacturing system.

38 . The method of claim 32 , wherein the second of the two or more machine learning algorithms generates a series of locations for a tool used by the computer-controlled manufacturing system, the toolpaths comprise one or more splines that connect the series of locations for the tool, and providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object comprises providing the one or more splines to control the tool to travel through the series of locations in a smooth route following the one or more splines.

39 . The method of claim 32 , wherein the second of the two or more machine learning algorithms operates in a three dimensional environment and uses a three dimensional representation of a tool used by the computer-controlled manufacturing system.

40 . The method of claim 32 , wherein the one or more desired toolpath characteristics comprise a desired side of a tool in the toolpaths.

41 . The method of claim 32 , wherein the one or more desired toolpath characteristics comprise rotation characteristics of a tool.

42 . The method of claim 32 , wherein the one or more desired toolpath characteristics comprise tool engagement for a selected cutting tool.

43 . The method of claim 32 , wherein the second of the two or more machine learning algorithms employs a percentage of cutter used.

44 . The method of claim 32 , wherein the computer-controlled manufacturing system is a multi-axis, multi-tool milling machine.

45 . The method of claim 32 , wherein the two or more machine learning algorithms are trained to generate toolpaths for 2.5-axis machining.

46 . The method of claim 45 , wherein the three dimensional model is obtained using a generative design software that generates the three dimensional model including a plurality of discrete layers.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 6, 2023
From: LOVELL, DAVID PATRICK; BIN ABU BAKAR, AKMAL ARIFF; MEHAN, SAARAS
To: AUTODESK, INC.
Reel/Frame 065148/0533 →
Continuity (3)
Continuation 17153266 · Jan 20, 2021
Provisional Application 63042264 · Jun 22, 2020
Related Publication 20240061383A1 · Feb 22, 2024
References Cited (50)
US 7117056B2 · Balic · 2006 [cited by applicant]
US 11782396B2 · Lovell et al. · 2023 [cited by applicant]
US 20030187624A1 · Balic · 2003 [cited by applicant]
US 20110190922A1 · Walker · 2011 [cited by examiner]
US 20170352199A1 · Finley · 2017 [cited by examiner]
US 20180181108A1 · Nagano · 2018 [cited by examiner]
US 20190018391A1 · Rogers et al. · 2019 [cited by applicant]
US 20190076949A1 · Atherton · 2019 [cited by examiner]
US 20190080456A1 · Song · 2019 [cited by examiner]
US 20190351520A1 · Uchida · 2019 [cited by applicant]
US 20190391561A1 · Anderson · 2019 [cited by examiner]
US 20190391562A1 · Srivastava et al. · 2019 [cited by applicant]
US 20200023516A1 · Kato et al. · 2020 [cited by applicant]
US 20200096970A1 · Mehr et al. · 2020 [cited by applicant]
US 20200265122A1 · Razzell · 2020 [cited by examiner]
US 20200371509A1 · Mark · 2020 [cited by examiner]
US 20210003992A1 · Nakamoto · 2021 [cited by examiner]
US 20210103286A1 · Wang · 2021 [cited by examiner]
US 20210132580A1 · Vignat · 2021 [cited by examiner]
US 20210278822A1 · Campanelli et al. · 2021 [cited by applicant]
US 20210291460A1 · Clark · 2021 [cited by applicant]
US 20210397142A1 · Lovell et al. · 2021 [cited by applicant]
US 20230234136A1 · Eissing · 2023 [cited by examiner]
CA 2238728 · 1997 [cited by applicant]
CN 110134062A · 2019 [cited by applicant]
CN 111127317A · 2020 [cited by applicant]
CN 111273610A · 2020 [cited by applicant]
JP H07185997 · 1995 [cited by applicant]
JP 2000501032 · 2000 [cited by applicant]
JP 2018106417 · 2018 [cited by applicant]
JP 2019150902 · 2019 [cited by applicant]
JP 2019200661 · 2019 [cited by applicant]
JP 2020011328 · 2020 [cited by applicant]
WO WO2018213334A1 · 2018 [cited by applicant]
WO WO2019112655 · 2019 [cited by applicant]
WO WO2020032947 · 2020 [cited by applicant]
WO WO2021092490 · 2021 [cited by applicant]
Extended European Search Report in European Appln No. 24150441.4, dated Apr. 22, 2024, 12 pages. [cited by applicant]
Office Action in Japanese Appln. No. 2022-577769, dated Sep. 10, 2024, 17 pages (with English translation). [cited by applicant]
Babaeizadeh, Mohammad, “Reinforcement Learning Through Asynchronous Advantage Actor-Critic on a SPU,” arXiv:611.06256v3, Mar. 2, 2017, 12 pages. [cited by applicant]
Bingran et al., “Trajectory Smoothing Method Using Reinforcement Learning for Computer Numerical Control Machine Tools,” Robotics and Computer Integrated Manufacturing, Aug. 13, 2019, 61:101847, 12 pages. [cited by applicant]
International Search Report and Written Opinion in International Appln. No. PCT/US2021/035631, dated Sep. 21, 2021, 17 pages. [cited by applicant]
Medium.freecodecamp.org [online], “An Intro to Advantage Actor Critic Methods: Let's Play Sonic the Hedgehog,” published on Jul. 26, 2018, retrieved on Jan. 12, 2021, retrieved from URL<https://medium.freecodecamp.org/a… [cited by applicant]
Mnih et al., “Asynchronous Methods for Deep Reinforcement Learning,” arXiv:1602.01783v2, Jun. 16, 2016, 19 pages. [cited by applicant]
Mnih et al., “Playing Atari with Deep Reinforcement Learning,” arXiv:1312.5602v1, Dec. 19, 2013, 9 pages. [cited by applicant]
Mozaffar et al., “Toolpath Design for Additive Manufacturing Using Deep Reinforcement Learning,” arXiv:2009.14365v1, Sep. 30, 2020, 8 pages. [cited by applicant]
Theregister.co.uk [online], “Sorry to Burst your Bubble, but Microsoft's ‘Ms. Pac-Man Beating AI’ Is More Automatic Idiot,” published on Jun. 15, 2017, retrieved on Jan. 12, 2021, retrieved from URL<https://www.theregis… [cited by applicant]
Towardsdatascience.com [online], “How to Teach AI to Play Games: Deep Reinforcement Learning,” published on Nov. 15, 2018, retrieved on Jan. 12, 2021, retrieved from URL<https://towardsdatascience.com/how-to-teach-an-ai… [cited by applicant]
Vignat, “Systems and Methods for Virtual Environment for Reinforcement Learning in Manufacturing,” 2019, U.S. Appl. No. 62/931,709, 19 pages. [cited by applicant]
Chinese Office Action in Chinese Appln. No. 202180040907.9, mailed on May 28, 2025, 24 pages, with English Translation. [cited by applicant]